/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/builder/ |
BuilderAnnotationSet.java | 34 import com.google.common.collect.ImmutableSet; 44 new BuilderAnnotationSet(ImmutableSet.<BuilderAnnotation>of());
|
/external/guava/guava-tests/test/com/google/common/collect/ |
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());
|
SingletonImmutableTableTest.java | 38 assertEquals(ImmutableSet.of(Tables.immutableCell('a', 1, "blah")), 48 assertEquals(ImmutableSet.of(1), testTable.columnKeySet()); 62 assertEquals(ImmutableSet.of('a'), testTable.rowKeySet()); 127 return ImmutableSet.of(testTable);
|
HashMultimapTest.java | 41 assertEquals(ImmutableSet.of(1, 3), multimap.get("foo")); 57 assertEquals(ImmutableSet.of(1, 3), multimap.get("foo"));
|
TransformedSetTest.java | 73 assertEquals(ImmutableSet.of(0, -1, -2, -3), transformed); 78 assertEquals(ImmutableSet.of(0, 1, 3, 4), original); 79 assertEquals(ImmutableSet.of(0, -1, -3, -4), transformed); 84 assertEquals(ImmutableSet.of(0, -3, -4, -5), transformed); 85 assertEquals(ImmutableSet.of(0, 3, 4, 5), original);
|
/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(
|
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/analysis/util/ |
SuperclassChainTest.java | 35 import com.google.common.collect.ImmutableSet; 56 ImmutableSet<ClassDef> classes = ImmutableSet.<ClassDef>of( 89 ImmutableSet<ClassDef> classes = ImmutableSet.<ClassDef>of(twoClassDef, threeClassDef);
|
/external/guava/guava/src/com/google/common/collect/ |
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/smali/util/src/main/java/org/jf/util/ |
ImmutableConverter.java | 35 import com.google.common.collect.ImmutableSet; 80 public ImmutableSet<ImmutableItem> toSet(@Nullable final Iterable<? extends Item> iterable) { 82 return ImmutableSet.of(); 86 if (iterable instanceof ImmutableSet) { 98 return (ImmutableSet<ImmutableItem>)iterable; 103 return ImmutableSet.copyOf(new Iterator<ImmutableItem>() {
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/immutable/ |
ImmutableMethodParameter.java | 35 import com.google.common.collect.ImmutableSet; 48 @Nonnull protected final ImmutableSet<? extends ImmutableAnnotation> annotations; 60 @Nullable ImmutableSet<? extends ImmutableAnnotation> annotations,
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/reflection/ |
ReflectionField.java | 34 import com.google.common.collect.ImmutableSet; 61 return ImmutableSet.of();
|
ReflectionConstructor.java | 34 import com.google.common.collect.ImmutableSet; 65 return ImmutableSet.of(); 89 return ImmutableSet.of();
|
ReflectionMethod.java | 34 import com.google.common.collect.ImmutableSet; 64 return ImmutableSet.of(); 88 return ImmutableSet.of();
|
/external/smali/smali/src/main/java/org/jf/smali/ |
SmaliMethodParameter.java | 34 import com.google.common.collect.ImmutableSet; 53 this.annotations = ImmutableSet.of();
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
UIProviderValidator.java | 19 import com.google.common.collect.ImmutableSet; 81 if (isValidProjection(requestedProjection, ImmutableSet.copyOf(allColumnProjection))) {
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
ImmutableSetMultimap.java | 313 ImmutableMap.Builder<K, ImmutableSet<V>> builder = ImmutableMap.builder(); 320 ImmutableSet<V> set = (valueComparator == null) 321 ? ImmutableSet.copyOf(values) 336 ImmutableSetMultimap(ImmutableMap<K, ImmutableSet<V>> map, int size, 351 @Override public ImmutableSet<V> get(@Nullable K key) { 353 ImmutableSet<V> set = (ImmutableSet<V>) map.get(key); 359 return ImmutableSet.<V>of(); 395 @Override public ImmutableSet<V> removeAll(Object key) { 404 @Override public ImmutableSet<V> replaceValues [all...] |
/external/owasp/sanitizer/src/main/org/owasp/html/ |
ElementAndAttributePolicyBasedSanitizerPolicy.java | 38 import com.google.common.collect.ImmutableSet; 49 final ImmutableSet<String> allowedTextContainers; 65 ImmutableSet<String> allowedTextContainers) { 71 static final ImmutableSet<String> SKIPPABLE_ELEMENT_CONTENT 72 = ImmutableSet.of(
|
FilterUrlByProtocolAttributePolicy.java | 33 import com.google.common.collect.ImmutableSet; 59 private final ImmutableSet<String> protocols; 63 this.protocols = ImmutableSet.copyOf(protocols);
|
/external/guava/guava-tests/test/com/google/common/cache/ |
CacheReferencesTest.java | 25 import com.google.common.collect.ImmutableSet; 49 .withKeyStrengths(ImmutableSet.of(STRONG, Strength.WEAK)) 50 .withValueStrengths(ImmutableSet.of(STRONG, Strength.WEAK, Strength.SOFT)); 97 assertEquals(ImmutableSet.of(key1, key2), cache.asMap().keySet()); 99 assertEquals(ImmutableSet.of(immutableEntry(key1, value1), immutableEntry(key2, value2)), 116 assertEquals(ImmutableSet.of(key2), cache.asMap().keySet()); 118 assertEquals(ImmutableSet.of(immutableEntry(key2, value2)), cache.asMap().entrySet());
|
/frameworks/testing/espresso/espresso-lib/src/main/java/com/google/android/apps/common/testing/ui/espresso/ |
AmbiguousViewMatcherException.java | 22 import com.google.common.collect.ImmutableSet; 70 ImmutableSet<View> ambiguousViews = 71 ImmutableSet.<View>builder().add(builder.view1, builder.view2).add(builder.others).build();
|
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/ |
AccountPreferences.java | 21 import com.google.common.collect.ImmutableSet; 57 public static final ImmutableSet<String> BACKUP_KEYS = 58 new ImmutableSet.Builder<String>()
|