HomeSort by relevance Sort by last modified time
    Searched refs:bimap (Results 1 - 6 of 6) sorted by null

  /external/guava/src/com/google/common/collect/
EnumHashBiMap.java 29 * A {@code BiMap} backed by an {@code EnumMap} instance for keys-to-values, and
52 * Constructs a new bimap with the same mappings as the specified map. If the
54 * bimap has the same key type as the input bimap. Otherwise, the specified
63 EnumHashBiMap<K, V> bimap = create(EnumBiMap.inferKeyType(map)); local
64 bimap.putAll(map);
65 return bimap;
HashBiMap.java 30 * A {@link BiMap} backed by two {@link HashMap} instances. This implementation
49 * Constructs a new, empty bimap with the specified expected size.
60 * Constructs a new bimap containing initial values from {@code map}. The
61 * bimap is created with an initial capacity sufficient to hold the mappings
66 HashBiMap<K, V> bimap = create(map.size()); local
67 bimap.putAll(map);
68 return bimap;
EnumBiMap.java 28 * A {@code BiMap} backed by two {@code EnumMap} instances. Null keys and values
53 * Returns a new bimap with the same mappings as the specified map. If the
54 * specified map is an {@code EnumBiMap}, the new bimap has the same types as
64 EnumBiMap<K, V> bimap = create(inferKeyType(map), inferValueType(map)); local
65 bimap.putAll(map);
66 return bimap;
ImmutableBiMap.java 26 * An immutable {@link BiMap} with reliable user-specified iteration order. Does
33 * make a "defensive copy" of a bimap provided to your class by a caller.
44 implements BiMap<K, V> {
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
144 * Associates {@code key} with {@code value} in the built bimap. Duplicate
153 * Associates all of the given map's keys and values in the built bimap.
165 * Returns a newly-created immutable bimap
194 ImmutableBiMap<K, V> bimap = (ImmutableBiMap<K, V>) map; local
    [all...]
Maps.java 243 * Returns a synchronized (thread-safe) bimap backed by the specified bimap.
245 * to the backing bimap is accomplished through the returned bimap.
250 * BiMap<Long, String> map = Maps.synchronizedBiMap(
264 * <p>The returned bimap will be serializable if the specified bimap is
267 * @param bimap the bimap to be wrapped in a synchronized view
268 * @return a sychronized view of the specified bimap
    [all...]
Synchronized.java     [all...]

Completed in 15 milliseconds