/external/guava/guava-gwt/test-super/com/google/common/collect/super/com/google/common/collect/ |
EnumHashBiMapTest.java | 44 public BiMap<Country, String> create(Object... entries) { 45 BiMap<Country, String> result = EnumHashBiMap.create(Country.class); 86 EnumHashBiMap<Currency, String> bimap = local 88 assertTrue(bimap.isEmpty()); 89 assertEquals("{}", bimap.toString()); 90 assertEquals(HashBiMap.create(), bimap); local 91 bimap.put(Currency.DOLLAR, "dollar"); 92 assertEquals("dollar", bimap.get(Currency.DOLLAR)); 93 assertEquals(Currency.DOLLAR, bimap.inverse().get("dollar")); 102 EnumHashBiMap<Currency, String> bimap local 172 EnumHashBiMap<Currency, String> bimap = local 183 EnumHashBiMap<Currency, String> bimap local [all...] |
EnumBiMapTest.java | 51 public BiMap<Country, Currency> create(Object... entries) { 52 BiMap<Country, Currency> result = EnumBiMap.create(Country.class, Currency.class); 93 EnumBiMap<Currency, Country> bimap = local 95 assertTrue(bimap.isEmpty()); 96 assertEquals("{}", bimap.toString()); 97 assertEquals(HashBiMap.create(), bimap); local 98 bimap.put(Currency.DOLLAR, Country.CANADA); 99 assertEquals(Country.CANADA, bimap.get(Currency.DOLLAR)); 100 assertEquals(Currency.DOLLAR, bimap.inverse().get(Country.CANADA)); 109 EnumBiMap<Currency, Country> bimap = EnumBiMap.create(map) local 154 EnumBiMap<Currency, Country> bimap = local 160 EnumBiMap<Currency, Country> bimap = local 172 EnumBiMap<Currency, Country> bimap = EnumBiMap.create(map); local 195 EnumBiMap<Currency, Country> bimap = EnumBiMap.create(map); local 222 EnumBiMap<Currency, Country> bimap = EnumBiMap.create(map); local 249 EnumBiMap<Currency, Country> bimap = EnumBiMap.create(map); local [all...] |
ImmutableBiMapTest.java | 58 BiMap<K, V> bimap = (BiMap<K, V>) map; local 63 assertEquals(entry.getKey(), bimap.inverse().get(entry.getValue())); 342 ImmutableBiMap<String, Integer> bimap = ImmutableBiMap.of(); local 343 assertEquals(Collections.<String, Integer>emptyMap(), bimap); local 344 assertEquals(Collections.<String, Integer>emptyMap(), bimap.inverse()); 351 ImmutableBiMap<String, Integer> bimap = ImmutableBiMap.copyOf( local 353 assertMapEquals(bimap, "one", 1, "two", 2); 354 assertMapEquals(bimap.inverse(), 1, "one", 2, "two") 358 ImmutableBiMap<String, Integer> bimap = ImmutableBiMap.copyOf( local 394 ImmutableBiMap<String, Integer> bimap = ImmutableBiMap.copyOf( local 403 ImmutableBiMap<String, Integer> bimap = ImmutableBiMap.copyOf( local 411 ImmutableBiMap<String, Integer> bimap = ImmutableBiMap.copyOf( local 419 ImmutableBiMap<String, Integer> bimap = ImmutableBiMap.copyOf( local [all...] |
MapConstraintsTest.java | 148 BiMap<String, Integer> map = new AbstractBiMap<String, Integer>( 151 BiMap<String, Integer> constrained = MapConstraints.constrainedBiMap( 172 BiMap<String, Integer> map = new AbstractBiMap<String, Integer>( 175 BiMap<String, Integer> constrained = MapConstraints.constrainedBiMap(
|
/external/guava/guava-tests/test/com/google/common/collect/ |
MapsCollectionTest.java | 85 protected BiMap<String, String> create(Entry<String, String>[] entries) { 86 BiMap<String, String> bimap = HashBiMap.create(entries.length); 88 checkArgument(!bimap.containsKey(entry.getKey())); 89 bimap.put(entry.getKey(), entry.getValue()); 91 return Maps.unmodifiableBiMap(bimap); 372 protected BiMap<String, String> create(Entry<String, String>[] entries) { 373 BiMap<String, String> map = HashBiMap.create(); 379 .named("Maps.filterKeys[BiMap, Predicate]") 388 protected BiMap<String, String> create(Entry<String, String>[] entries) [all...] |
EnumHashBiMapTest.java | 53 public BiMap<Country, String> create(Object... entries) { 54 BiMap<Country, String> result = EnumHashBiMap.create(Country.class); 111 EnumHashBiMap<Currency, String> bimap = local 113 assertTrue(bimap.isEmpty()); 114 assertEquals("{}", bimap.toString()); 115 assertEquals(HashBiMap.create(), bimap); local 116 bimap.put(Currency.DOLLAR, "dollar"); 117 assertEquals("dollar", bimap.get(Currency.DOLLAR)); 118 assertEquals(Currency.DOLLAR, bimap.inverse().get("dollar")); 127 EnumHashBiMap<Currency, String> bimap local 197 EnumHashBiMap<Currency, String> bimap = local 208 EnumHashBiMap<Currency, String> bimap local [all...] |
MapsTest.java | 1303 BiMap<String, Integer> bimap = HashBiMap.create(); local [all...] |
EnumBiMapTest.java | 60 public BiMap<Country, Currency> create(Object... entries) { 61 BiMap<Country, Currency> result = EnumBiMap.create(Country.class, Currency.class); 117 EnumBiMap<Currency, Country> bimap = local 119 assertTrue(bimap.isEmpty()); 120 assertEquals("{}", bimap.toString()); 121 assertEquals(HashBiMap.create(), bimap); local 122 bimap.put(Currency.DOLLAR, Country.CANADA); 123 assertEquals(Country.CANADA, bimap.get(Currency.DOLLAR)); 124 assertEquals(Currency.DOLLAR, bimap.inverse().get(Country.CANADA)); 133 EnumBiMap<Currency, Country> bimap = EnumBiMap.create(map) local 178 EnumBiMap<Currency, Country> bimap = local 184 EnumBiMap<Currency, Country> bimap = local 196 EnumBiMap<Currency, Country> bimap = EnumBiMap.create(map); local 219 EnumBiMap<Currency, Country> bimap = EnumBiMap.create(map); local 246 EnumBiMap<Currency, Country> bimap = EnumBiMap.create(map); local 273 EnumBiMap<Currency, Country> bimap = EnumBiMap.create(map); local [all...] |
MapConstraintsTest.java | 150 BiMap<String, Integer> map = new AbstractBiMap<String, Integer>( 153 BiMap<String, Integer> constrained = MapConstraints.constrainedBiMap( 174 BiMap<String, Integer> map = new AbstractBiMap<String, Integer>( 177 BiMap<String, Integer> constrained = MapConstraints.constrainedBiMap(
|
ImmutableBiMapTest.java | 99 BiMap<K, V> bimap = (BiMap<K, V>) map; local 104 assertEquals(entry.getKey(), bimap.inverse().get(entry.getValue())); 383 ImmutableBiMap<String, Integer> bimap = ImmutableBiMap.of(); local 384 assertEquals(Collections.<String, Integer>emptyMap(), bimap); local 385 assertEquals(Collections.<String, Integer>emptyMap(), bimap.inverse()); 392 ImmutableBiMap<String, Integer> bimap = ImmutableBiMap.copyOf( local 394 assertMapEquals(bimap, "one", 1, "two", 2); 395 assertMapEquals(bimap.inverse(), 1, "one", 2, "two") 399 ImmutableBiMap<String, Integer> bimap = ImmutableBiMap.copyOf( local 435 ImmutableBiMap<String, Integer> bimap = ImmutableBiMap.copyOf( local 444 ImmutableBiMap<String, Integer> bimap = ImmutableBiMap.copyOf( local 452 ImmutableBiMap<String, Integer> bimap = ImmutableBiMap.copyOf( local 460 ImmutableBiMap<String, Integer> bimap = ImmutableBiMap.copyOf( local 467 ImmutableBiMap<String, Integer> bimap = ImmutableBiMap.of(); local 473 ImmutableBiMap<String, Integer> bimap = ImmutableBiMap.copyOf( local 484 ImmutableBiMap<String, Integer> bimap = ImmutableBiMap.copyOf( local [all...] |
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
Synchronized.java | 1087 static <K, V> BiMap<K, V> biMap(BiMap<K, V> bimap, @Nullable Object mutex) { 1088 if (bimap instanceof SynchronizedBiMap || 1089 bimap instanceof ImmutableBiMap) { 1090 return bimap; 1092 return new SynchronizedBiMap<K, V>(bimap, mutex, null); 1096 extends SynchronizedMap<K, V> implements BiMap<K, V>, Serializable { 1098 private transient BiMap<V, K> inverse [all...] |
ImmutableBiMap.java | 29 implements BiMap<K, V> { 95 ImmutableBiMap<K, V> bimap = (ImmutableBiMap<K, V>) map; local 96 return bimap;
|
AbstractBiMap.java | 35 * A general-purpose bimap implementation using any two backing {@code Map} 46 implements BiMap<K, V>, Serializable { 51 /** Package-private constructor for creating a map-backed bimap. */ 56 /** Private constructor for inverse bimap. */ 170 public BiMap<V, K> inverse() { 355 * Serialization stores the forward bimap, the inverse of this inverse. 356 * Deserialization calls inverse() on the forward bimap and returns that 359 * If a bimap and its inverse are serialized together, the deserialized
|
/packages/apps/Tag/src/com/android/apps/tag/record/ |
UriRecord.java | 22 import com.google.common.collect.BiMap;
|
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/ |
JavaWriter.java | 20 import com.google.common.collect.BiMap; 141 BiMap<String, ClassName> importedClassIndex = HashBiMap.create();
|
/external/guava/guava/src/com/google/common/collect/ |
Synchronized.java | 1103 static <K, V> BiMap<K, V> biMap(BiMap<K, V> bimap, @Nullable Object mutex) { 1104 if (bimap instanceof SynchronizedBiMap || 1105 bimap instanceof ImmutableBiMap) { 1106 return bimap; 1108 return new SynchronizedBiMap<K, V>(bimap, mutex, null); 1112 extends SynchronizedMap<K, V> implements BiMap<K, V>, Serializable { 1114 private transient BiMap<V, K> inverse [all...] |
AbstractBiMap.java | 39 * A general-purpose bimap implementation using any two backing {@code Map} 50 implements BiMap<K, V>, Serializable { 55 /** Package-private constructor for creating a map-backed bimap. */ 60 /** Private constructor for inverse bimap. */ 174 public BiMap<V, K> inverse() { 359 * Serialization stores the forward bimap, the inverse of this inverse. 360 * Deserialization calls inverse() on the forward bimap and returns that 363 * If a bimap and its inverse are serialized together, the deserialized 378 * @serialData the forward bimap
|
ImmutableBiMap.java | 24 * An immutable {@link BiMap} with reliable user-specified iteration order. Does 31 * make a "defensive copy" of a bimap provided to your class by a caller. 42 implements BiMap<K, V> { 45 * Returns the empty bimap. 54 * Returns an immutable bimap containing a single entry. 112 * A builder for creating immutable bimap instances, especially {@code public 126 * multiple times to build multiple bimaps in series. Each bimap is a superset 140 * Associates {@code key} with {@code value} in the built bimap. Duplicate 149 * Associates all of the given map's keys and values in the built bimap. 161 * Returns a newly-created immutable bimap 194 ImmutableBiMap<K, V> bimap = (ImmutableBiMap<K, V>) map; local [all...] |
/external/guava/guava-testlib/test/com/google/common/testing/ |
FreshValueGeneratorTest.java | 28 import com.google.common.collect.BiMap; 552 assertFreshInstance(new TypeToken<BiMap<String, ?>>() {}); 554 BiMap<String, Integer> expected = HashBiMap.create(); 558 new TypeToken<BiMap<String, Integer>>() {})); 559 assertNotInstantiable(new TypeToken<BiMap<EmptyEnum, String>>() {}); [all...] |
ArbitraryInstancesTest.java | 28 import com.google.common.collect.BiMap; 196 assertEquals(ImmutableBiMap.of(), ArbitraryInstances.get(BiMap.class));
|
/external/guava/guava-testlib/src/com/google/common/testing/ |
ArbitraryInstances.java | 33 import com.google.common.collect.BiMap; 266 .put(BiMap.class, ImmutableBiMap.of())
|
FreshValueGenerator.java | 30 import com.google.common.collect.BiMap; 696 @Generates private static <K, V> BiMap<K, V> freshBimap(K key, V value) { 701 HashBiMap<K, V> bimap = HashBiMap.create(); 702 bimap.put(key, value); 703 return bimap;
|
/external/dagger2/lib/ |
google-java-format-0.1-20151017.042846-2.jar | |
/external/guice/lib/ |
guava-16.0.1.jar | |
/packages/apps/Messaging/build/gcheckstyle/ |
google-style-checker_deploy.jar | |