Searched defs:bimap (Results 1 - 6 of 6) sorted by relevance
/external/guava/guava/src/com/google/common/collect/ |
H A D | ImmutableBiMap.java | 33 * make a "defensive copy" of a bimap provided to your class by a caller. 50 * Returns the empty bimap. 59 * Returns an immutable bimap containing a single entry. 118 * A builder for creating immutable bimap instances, especially {@code public 132 * multiple times to build multiple bimaps in series. Each bimap is a superset 146 * Associates {@code key} with {@code value} in the built bimap. Duplicate 155 * Associates all of the given map's keys and values in the built bimap. 167 * Returns a newly-created immutable bimap. 181 * Returns an immutable bimap containing the same entries as {@code map}. If 197 ImmutableBiMap<K, V> bimap 312 SerializedForm(ImmutableBiMap<?, ?> bimap) argument [all...] |
H A D | Maps.java | 272 * Returns a synchronized (thread-safe) bimap backed by the specified bimap. 274 * to the backing bimap is accomplished through the returned bimap. 293 * <p>The returned bimap will be serializable if the specified bimap is 296 * @param bimap the bimap to be wrapped in a synchronized view 297 * @return a sychronized view of the specified bimap 299 public static <K, V> BiMap<K, V> synchronizedBiMap(BiMap<K, V> bimap) { argument 858 unmodifiableBiMap( BiMap<? extends K, ? extends V> bimap) argument [all...] |
H A D | Synchronized.java | 1098 static <K, V> BiMap<K, V> biMap(BiMap<K, V> bimap, @Nullable Object mutex) { argument 1099 if (bimap instanceof SynchronizedBiMap || 1100 bimap instanceof ImmutableBiMap) { 1101 return bimap; 1103 return new SynchronizedBiMap<K, V>(bimap, mutex, null);
|
/external/guava/guava-tests/test/com/google/common/collect/ |
H A D | AbstractBiMapTest.java | 44 protected BiMap<Integer, String> bimap; field in class:AbstractBiMapTest 50 bimap = create(); 51 entrySet = bimap.entrySet(); 55 bimap.clear(); 56 assertTrue(bimap.isEmpty()); 58 bimap.clear(); 59 assertTrue(bimap.isEmpty()); 63 assertFalse(bimap.containsKey(null)); 64 assertFalse(bimap.containsKey(1)); 65 assertFalse(bimap [all...] |
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
H A D | Maps.java | 269 * Returns a synchronized (thread-safe) bimap backed by the specified bimap. 271 * to the backing bimap is accomplished through the returned bimap. 290 * <p>The returned bimap will be serializable if the specified bimap is 293 * @param bimap the bimap to be wrapped in a synchronized view 294 * @return a sychronized view of the specified bimap 296 public static <K, V> BiMap<K, V> synchronizedBiMap(BiMap<K, V> bimap) { argument 829 unmodifiableBiMap( BiMap<? extends K, ? extends V> bimap) argument [all...] |
H A D | Synchronized.java | 1085 static <K, V> BiMap<K, V> biMap(BiMap<K, V> bimap, @Nullable Object mutex) { argument 1086 if (bimap instanceof SynchronizedBiMap || 1087 bimap instanceof ImmutableBiMap) { 1088 return bimap; 1090 return new SynchronizedBiMap<K, V>(bimap, mutex, null);
|
Completed in 206 milliseconds