/external/guava/guava-tests/test/com/google/common/collect/ |
AbstractSetMultimapTest.java | 54 assertEquals(ImmutableSet.of(1, 3), multimap.get("foo")); 88 "foo", (Collection<Integer>) ImmutableSet.of(1, 3)); 121 assertFalse(asMapValues.remove(ImmutableSet.of(1, 2))); 123 assertTrue(asMapValues.remove(ImmutableSet.of(1, 3)));
|
ImmutableSetMultimapTest.java | 47 assertEquals(ImmutableSet.of(1), multimap.get("one")); 84 assertEquals(ImmutableSet.of(1), builder.build().get("one")); 94 assertEquals(ImmutableSet.of(1, 2, 3, 6, 7), multimap.get("foo")); 95 assertEquals(ImmutableSet.of(4, 5), multimap.get("bar")); 106 assertEquals(ImmutableSet.of(1, 2, 3, 6, 7), multimap.get("foo")); 107 assertEquals(ImmutableSet.of(4, 5), multimap.get("bar")); 126 assertEquals(ImmutableSet.of(1, 2, 3, 6, 7), multimap.get("foo")); 127 assertEquals(ImmutableSet.of(4, 5), multimap.get("bar"));
|
RangesTest.java | 49 Ranges.encloseAll(ImmutableSet.<Integer>of());
|
FauxveridesTest.java | 44 * secretly be a call to {@code ImmutableSet.copyOf()}. 68 doHasAllFauxveridesTest(ImmutableSortedSet.class, ImmutableSet.class); 89 Set<Object> original = ImmutableSet.of(new Object(), new Object()); 99 Set<Object> original = ImmutableSet.of(new Object(), new Object());
|
SetOperationsTest.java | 270 ImmutableSet<String> immut = Sets.union(friends, enemies).immutableCopy(); 287 ImmutableSet<String> immut 305 ImmutableSet<String> immut 331 ImmutableSet<String> immut
|
/external/guava/guava-tests/test/com/google/common/primitives/ |
UnsignedIntegerTest.java | 21 import com.google.common.collect.ImmutableSet; 33 private static final ImmutableSet<Integer> TEST_INTS; 41 ImmutableSet.Builder<Integer> testIntsBuilder = ImmutableSet.builder();
|
UnsignedLongTest.java | 23 import com.google.common.collect.ImmutableSet; 35 private static final ImmutableSet<Long> TEST_LONGS; 38 ImmutableSet.Builder<Long> testLongsBuilder = ImmutableSet.builder();
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
MultiFoldersSelectionDialog.java | 37 import com.google.common.collect.ImmutableSet; 120 final Set<String> originalChecked = ImmutableSet.copyOf(checked); 142 ImmutableSet.of(FolderType.INBOX_SECTION), originalChecked, 150 ImmutableSet.of(FolderType.INBOX_SECTION), originalChecked,
|
/external/guava/guava-tests/test/com/google/common/io/ |
CharStreamsTest.java | 25 import com.google.common.collect.ImmutableSet; 67 private static final ImmutableSet<InputSupplier<? extends Reader>> BROKEN_INPUTS = 68 ImmutableSet.of(BROKEN_CLOSE_INPUT, BROKEN_GET_INPUT, BROKEN_READ); 69 private static final ImmutableSet<OutputSupplier<? extends Writer>> BROKEN_OUTPUTS 70 = ImmutableSet.of(BROKEN_CLOSE_OUTPUT, BROKEN_GET_OUTPUT, BROKEN_WRITE);
|
/external/guava/guava/src/com/google/common/collect/ |
Sets.java | 80 public static <E extends Enum<E>> ImmutableSet<E> immutableEnumSet( 98 public static <E extends Enum<E>> ImmutableSet<E> immutableEnumSet( 102 return ImmutableSet.of(); 149 * ImmutableSet#of()} instead. 165 * non-null, use an overload of {@link ImmutableSet#of()} (for varargs) or 166 * {@link ImmutableSet#copyOf(Object[])} (for an array) instead. 202 * non-null, use {@link ImmutableSet#copyOf(Iterable)} instead. 221 * non-null, use {@link ImmutableSet#copyOf(Iterable)} instead. 243 * ImmutableSet#of()} instead. 275 * non-null, use {@link ImmutableSet#copyOf(Iterable)} instead [all...] |
ImmutableEnumSet.java | 26 * Implementation of {@link ImmutableSet} backed by a non-empty {@link 33 final class ImmutableEnumSet<E extends Enum<E>> extends ImmutableSet<E> {
|
SingletonImmutableSet.java | 27 * Implementation of {@link ImmutableSet} with exactly one element. 34 final class SingletonImmutableSet<E> extends ImmutableSet<E> {
|
ImmutableBiMap.java | 234 @Override public ImmutableSet<Entry<K, V>> entrySet() { 242 @Override public ImmutableSet<K> keySet() { 250 @Override public ImmutableSet<V> values() {
|
ImmutableSortedMap.java | 459 private transient ImmutableSet<Entry<K, V>> entrySet; 465 @Override public ImmutableSet<Entry<K, V>> entrySet() { 466 ImmutableSet<Entry<K, V>> es = entrySet; 470 private ImmutableSet<Entry<K, V>> createEntrySet() { 471 return isEmpty() ? ImmutableSet.<Entry<K, V>>of() 476 private static class EntrySet<K, V> extends ImmutableSet<Entry<K, V>> {
|
ImmutableMultiset.java | 348 private transient ImmutableSet<Entry<E>> entrySet; 352 ImmutableSet<Entry<E>> es = entrySet; 360 ImmutableSet<Entry<E>> createEntrySet() { 364 static class EntrySet<E> extends ImmutableSet<Entry<E>> {
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
Sets.java | 77 public static <E extends Enum<E>> ImmutableSet<E> immutableEnumSet( 95 public static <E extends Enum<E>> ImmutableSet<E> immutableEnumSet( 99 return ImmutableSet.of(); 146 * ImmutableSet#of()} instead. 162 * non-null, use an overload of {@link ImmutableSet#of()} (for varargs) or 163 * {@link ImmutableSet#copyOf(Object[])} (for an array) instead. 199 * non-null, use {@link ImmutableSet#copyOf(Iterable)} instead. 218 * non-null, use {@link ImmutableSet#copyOf(Iterable)} instead. 240 * ImmutableSet#of()} instead. 272 * non-null, use {@link ImmutableSet#copyOf(Iterable)} instead [all...] |
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/dexbacked/ |
DexBackedClassDef.java | 34 import com.google.common.collect.ImmutableSet; 131 return ImmutableSet.of(); 199 return ImmutableSet.of(); 260 return ImmutableSet.of(); 329 return ImmutableSet.of(); 381 return ImmutableSet.of();
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
FuturesTest.java | 35 import com.google.common.collect.ImmutableSet; 876 String smartToString(ImmutableSet<ListenableFuture<String>> inputs) { 881 void smartAssertTrue(ImmutableSet<ListenableFuture<String>> inputs, 889 ImmutableSet<ListenableFuture<String>> inputs = ImmutableSet.of(a, b); 890 return intersect(inputs, ImmutableSet.of( 897 ImmutableSet<ListenableFuture<String>> inputs = ImmutableSet.of(a, b); 903 ImmutableSet<ListenableFuture<String>> inputs = ImmutableSet.of(a, b) [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
VoicemailContentTable.java | 37 import com.google.common.collect.ImmutableSet; 42 import com.google.common.collect.ImmutableSet; 60 private static final ImmutableSet<String> ALLOWED_COLUMNS = new ImmutableSet.Builder<String>()
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
ProgramStateTrait.h | 26 template <typename K, typename I> class ImmutableSet; 107 // Partial-specialization for ImmutableSet. 110 struct ProgramStatePartialTrait< llvm::ImmutableSet<Key,Info> > { 111 typedef llvm::ImmutableSet<Key,Info> data_type;
|
/packages/apps/UnifiedEmail/src/com/android/mail/preferences/ |
FolderPreferences.java | 31 import com.google.common.collect.ImmutableSet; 58 public static final ImmutableSet<String> BACKUP_KEYS = 59 new ImmutableSet.Builder<String>()
|
/external/owasp/sanitizer/src/main/org/owasp/html/ |
HtmlLexer.java | 31 import com.google.common.collect.ImmutableSet; 252 private static final Set<String> VALUELESS_ATTRIB_NAMES = ImmutableSet.of(
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/analysis/ |
ClassPath.java | 37 import com.google.common.collect.ImmutableSet; 111 return new ImmutableDexFile(ImmutableSet.of(
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/builder/ |
BuilderContext.java | 36 import com.google.common.collect.ImmutableSet; 77 return ImmutableSet.copyOf(
|
/packages/apps/UnifiedEmail/src/com/android/mail/utils/ |
HtmlSanitizer.java | 23 import com.google.common.collect.ImmutableSet; 53 private static final CssSchema ADDITIONAL_CSS = CssSchema.withProperties(ImmutableSet.of(
|