/external/guava/guava/src/com/google/common/net/ |
TldPatterns.java | 7 import com.google.common.collect.ImmutableSet; 24 static final Set<String> EXACT = ImmutableSet.of( [all...] |
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
EmptyImmutableSet.java | 24 final class EmptyImmutableSet extends ImmutableSet<Object> {
|
ImmutableEnumSet.java | 27 final class ImmutableEnumSet<E> extends ImmutableSet<E> {
|
ImmutableSet.java | 29 * GWT emulated version of {@link ImmutableSet}. For the unsorted sets, they 40 public abstract class ImmutableSet<E> extends ForwardingImmutableCollection<E> 43 ImmutableSet(Set<E> delegate) { 47 ImmutableSet() { 53 public static <E> ImmutableSet<E> of() { 54 return (ImmutableSet<E>) EmptyImmutableSet.INSTANCE; 57 public static <E> ImmutableSet<E> of(E element) { 62 public static <E> ImmutableSet<E> of(E e1, E e2) { 67 public static <E> ImmutableSet<E> of(E e1, E e2, E e3) { 72 public static <E> ImmutableSet<E> of(E e1, E e2, E e3, E e4) [all...] |
RegularImmutableSet.java | 28 final class RegularImmutableSet<E> extends ImmutableSet<E> {
|
SingletonImmutableSet.java | 28 final class SingletonImmutableSet<E> extends ImmutableSet<E> {
|
/external/owasp/sanitizer/src/main/org/owasp/html/ |
CssSchema.java | 38 import com.google.common.collect.ImmutableSet; 50 final ImmutableSet<String> literals; 57 int bits, ImmutableSet<String> literals, 74 0, ImmutableSet.<String>of(), ImmutableMap.<String, String>of()); 169 ImmutableSet<String> mozBorderRadiusLiterals0 = ImmutableSet.of("/"); 170 ImmutableSet<String> mozOpacityLiterals0 = ImmutableSet.of("inherit"); 171 ImmutableSet<String> mozOutlineLiterals0 = ImmutableSet.of [all...] |
/external/guava/guava/src/com/google/common/collect/ |
EmptyImmutableMultiset.java | 39 public ImmutableSet<Object> elementSet() { 40 return ImmutableSet.of(); 64 ImmutableSet<Entry<Object>> createEntrySet() { 65 return ImmutableSet.of();
|
EmptyImmutableTable.java | 68 @Override public ImmutableSet<Cell<Object, Object, Object>> cellSet() { 69 return ImmutableSet.of(); 77 @Override public ImmutableSet<Object> columnKeySet() { 78 return ImmutableSet.of(); 107 @Override public ImmutableSet<Object> rowKeySet() { 108 return ImmutableSet.of(); 120 return ImmutableSet.of();
|
EmptyImmutableMap.java | 58 @Override public ImmutableSet<Entry<Object, Object>> entrySet() { 59 return ImmutableSet.of(); 62 @Override public ImmutableSet<Object> keySet() { 63 return ImmutableSet.of();
|
EmptyImmutableSetMultimap.java | 32 super(ImmutableMap.<Object, ImmutableSet<Object>>of(), 0, null);
|
ImmutableSet.java | 45 * <p><b>Warning:</b> Like most sets, an {@code ImmutableSet} will not function 68 public abstract class ImmutableSet<E> extends ImmutableCollection<E> 77 public static <E> ImmutableSet<E> of() { 78 return (ImmutableSet<E>) EmptyImmutableSet.INSTANCE; 87 public static <E> ImmutableSet<E> of(E element) { 98 public static <E> ImmutableSet<E> of(E e1, E e2) { 109 public static <E> ImmutableSet<E> of(E e1, E e2, E e3) { 120 public static <E> ImmutableSet<E> of(E e1, E e2, E e3, E e4) { 131 public static <E> ImmutableSet<E> of(E e1, E e2, E e3, E e4, E e5) { 143 public static <E> ImmutableSet<E> of(E e1, E e2, E e3, E e4, E e5, E e6 [all...] |
SingletonImmutableMap.java | 82 private transient ImmutableSet<Entry<K, V>> entrySet; 84 @Override public ImmutableSet<Entry<K, V>> entrySet() { 85 ImmutableSet<Entry<K, V>> es = entrySet; 86 return (es == null) ? (entrySet = ImmutableSet.of(entry())) : es; 89 private transient ImmutableSet<K> keySet; 91 @Override public ImmutableSet<K> keySet() { 92 ImmutableSet<K> ks = keySet; 93 return (ks == null) ? (keySet = ImmutableSet.of(singleKey)) : ks;
|
/external/guava/guava-tests/test/com/google/common/collect/ |
ImmutableSetTest.java | 23 import com.google.common.collect.ImmutableSet.Builder; 33 * Unit test for {@link ImmutableSet}. 43 return ImmutableSet.of(); 47 return ImmutableSet.of(e); 51 return ImmutableSet.of(e1, e2); 55 return ImmutableSet.of(e1, e2, e3); 60 return ImmutableSet.of(e1, e2, e3, e4); 65 return ImmutableSet.of(e1, e2, e3, e4, e5); 70 return ImmutableSet.of(e1, e2, e3, e4, e5, e6, rest); 74 return ImmutableSet.copyOf(elements) [all...] |
EmptyImmutableTableTest.java | 32 return ImmutableSet.of(INSTANCE); 43 .addEqualityGroup(ArrayTable.create(ImmutableSet.of("A"), 44 ImmutableSet.of(1))) 65 assertEquals(ImmutableSet.of(), INSTANCE.cellSet()); 73 assertEquals(ImmutableSet.of(), INSTANCE.columnKeySet()); 101 assertEquals(ImmutableSet.of(), INSTANCE.rowKeySet());
|
/external/llvm/unittests/ADT/ |
ImmutableSetTest.cpp | 1 //===----------- ImmutableSetTest.cpp - ImmutableSet unit tests ------------===// 11 #include "llvm/ADT/ImmutableSet.h" 38 ImmutableSet<int>::Factory f; 44 ImmutableSet<int> S = f.getEmptySet(); 52 ImmutableSet<int>::Factory f; 53 ImmutableSet<int> S = f.getEmptySet(); 55 ImmutableSet<int> S2 = f.add(S, 3); 65 ImmutableSet<int> S3 = f.add(S, 2); 80 ImmutableSet<int>::Factory f; 81 ImmutableSet<int> S = f.getEmptySet() [all...] |
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/ |
ImmutableDexFile.java | 34 import com.google.common.collect.ImmutableSet; 44 @Nonnull protected final ImmutableSet<? extends ImmutableClassDef> classes; 50 public ImmutableDexFile(@Nullable ImmutableSet<? extends ImmutableClassDef> classes) { 61 @Nonnull @Override public ImmutableSet<? extends ImmutableClassDef> getClasses() { return classes; }
|
ImmutableAnnotation.java | 34 import com.google.common.collect.ImmutableSet; 48 @Nonnull protected final ImmutableSet<? extends ImmutableAnnotationElement> elements; 60 @Nullable ImmutableSet<? extends ImmutableAnnotationElement> elements) { 78 @Nonnull @Override public ImmutableSet<? extends ImmutableAnnotationElement> getElements() { return elements; } 81 public static ImmutableSet<ImmutableAnnotation> immutableSetOf(@Nullable Iterable<? extends Annotation> list) {
|
ImmutableClassDef.java | 55 @Nonnull protected final ImmutableSet<String> interfaces; 57 @Nonnull protected final ImmutableSet<? extends ImmutableAnnotation> annotations; 81 this.interfaces = interfaces==null ? ImmutableSet.<String>of() : ImmutableSet.copyOf(interfaces); 103 this.interfaces = interfaces==null ? ImmutableSet.<String>of() : ImmutableSet.copyOf(interfaces); 115 @Nullable ImmutableSet<String> interfaces, 117 @Nullable ImmutableSet<? extends ImmutableAnnotation> annotations, 154 @Nonnull @Override public ImmutableSet<String> getInterfaces() { return interfaces; } 156 @Nonnull @Override public ImmutableSet<? extends ImmutableAnnotation> getAnnotations() { return annotations; [all...] |
/external/smali/util/src/main/java/org/jf/util/ |
ImmutableUtils.java | 35 import com.google.common.collect.ImmutableSet; 49 @Nonnull public static <T> ImmutableSet<T> nullToEmptySet(@Nullable ImmutableSet<T> set) { 51 return ImmutableSet.of();
|
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/analysis/ |
TestUtils.java | 34 import com.google.common.collect.ImmutableSet; 44 return new ImmutableClassDef(classType, 0, superType, ImmutableSet.copyOf(interfaces), 50 ImmutableSet.copyOf(interfaces), null, null, null, null, null, null);
|
/external/antlr/antlr-3.4/runtime/Python/antlr3/ |
compat.py | 37 from sets import Set as set, ImmutableSet as frozenset
|
/external/clang/include/clang/Analysis/Analyses/ |
LiveVariables.h | 20 #include "llvm/ADT/ImmutableSet.h" 35 llvm::ImmutableSet<const Stmt *> liveStmts; 36 llvm::ImmutableSet<const VarDecl *> liveDecls; 43 LivenessValues(llvm::ImmutableSet<const Stmt *> LiveStmts, 44 llvm::ImmutableSet<const VarDecl *> LiveDecls)
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/value/ |
ImmutableAnnotationEncodedValue.java | 34 import com.google.common.collect.ImmutableSet; 47 @Nonnull protected final ImmutableSet<? extends ImmutableAnnotationElement> elements; 56 @Nullable ImmutableSet<? extends ImmutableAnnotationElement> elements) { 71 @Nonnull @Override public ImmutableSet<? extends ImmutableAnnotationElement> getElements() { return elements; }
|
/external/guava/guava-tests/test/com/google/common/math/ |
MathTesting.java | 34 import com.google.common.collect.ImmutableSet; 48 static final ImmutableSet<RoundingMode> ALL_ROUNDING_MODES = ImmutableSet.copyOf(RoundingMode 101 static final ImmutableSet<Integer> POSITIVE_INTEGER_CANDIDATES; 110 ImmutableSet.Builder<Integer> intValues = ImmutableSet.builder(); 138 static final ImmutableSet<Long> POSITIVE_LONG_CANDIDATES; 147 ImmutableSet.Builder<Long> longValues = ImmutableSet.builder(); 171 static final ImmutableSet<BigInteger> POSITIVE_BIGINTEGER_CANDIDATES [all...] |