/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/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;
|
SingletonImmutableTable.java | 49 @Override public ImmutableSet<Cell<R, C, V>> cellSet() { 50 return ImmutableSet.of( 61 @Override public ImmutableSet<C> columnKeySet() { 62 return ImmutableSet.of(singleColumnKey); 102 @Override public ImmutableSet<R> rowKeySet() { 103 return ImmutableSet.of(singleRowKey); 116 return ImmutableSet.of(singleValue);
|
RegularImmutableTable.java | 43 private final ImmutableSet<Cell<R, C, V>> cellSet; 45 private RegularImmutableTable(ImmutableSet<Cell<R, C, V>> cellSet) { 85 @Override public final ImmutableSet<Cell<R, C, V>> cellSet() { 133 ImmutableSet.Builder<Cell<R, C, V>> cellSetBuilder = ImmutableSet.builder(); 134 ImmutableSet.Builder<R> rowSpaceBuilder = ImmutableSet.builder(); 135 ImmutableSet.Builder<C> columnSpaceBuilder = ImmutableSet.builder(); 141 ImmutableSet<Cell<R, C, V>> cellSet = cellSetBuilder.build() [all...] |
ImmutableSetMultimap.java | 318 ImmutableMap.Builder<K, ImmutableSet<V>> builder = ImmutableMap.builder(); 325 ImmutableSet<V> set = (valueComparator == null) 326 ? ImmutableSet.copyOf(values) 341 ImmutableSetMultimap(ImmutableMap<K, ImmutableSet<V>> map, int size, 356 @Override public ImmutableSet<V> get(@Nullable K key) { 358 ImmutableSet<V> set = (ImmutableSet<V>) map.get(key); 364 return ImmutableSet.<V>of(); 400 @Override public ImmutableSet<V> removeAll(Object key) { 409 @Override public ImmutableSet<V> replaceValues [all...] |
/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());
|
SetsTest.java | 274 ImmutableSet<SomeEnum> none 278 ImmutableSet<SomeEnum> one 282 ImmutableSet<SomeEnum> two 290 ImmutableSet<SomeEnum> original = 297 ImmutableSet<?> deserialized = (ImmutableSet<?>) in.readObject(); 344 Set<SomeEnum> set = ImmutableSet.of(SomeEnum.B, SomeEnum.C); 349 Set<SomeEnum> set = ImmutableSet.of(SomeEnum.A, SomeEnum.B, SomeEnum.C); 696 ImmutableSet<Integer> elements = ImmutableSet.of() [all...] |
RegularImmutableTableTest.java | 29 private static final ImmutableSet<Cell<Character, Integer, String>> CELLS = 30 ImmutableSet.of( 35 private static final ImmutableSet<Character> ROW_SPACE = 36 ImmutableSet.of('a', 'b'); 38 private static final ImmutableSet<Integer> COLUMN_SPACE = 39 ImmutableSet.of(1, 2); 97 assertTrue(RegularImmutableTable.forCells(ImmutableSet.of( 128 assertEquals(ImmutableSet.of(1, 2), testInstance.columnKeySet()); 182 assertEquals(ImmutableSet.of('a', 'b'), testInstance.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/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/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...] |
/external/guava/guava-tests/test/com/google/common/net/ |
HttpHeadersTest.java | 22 import com.google.common.collect.ImmutableSet; 49 private static final ImmutableSet<String> UPPERCASE_ACRONYMS = ImmutableSet.of(
|
/external/guava/guava-tests/test/com/google/common/primitives/ |
PrimitivesTest.java | 19 import com.google.common.collect.ImmutableSet; 52 ImmutableSet.<Object>of( 67 ImmutableSet.<Object>of(
|