/external/guava/src/com/google/common/collect/ |
BiMap.java | 27 * A bimap (or "bidirectional map") is a map that preserves the uniqueness of 29 * support an "inverse view", which is another bimap containing the same entries 30 * as this bimap but with reversed keys and values. 36 public interface BiMap<K, V> extends Map<K, V> { 43 * different key in this bimap. The bimap will remain unmodified in this 51 * operation. If the bimap previously contained the provided key-value 55 * bimap to increase by one, stay the same, or even decrease by one. 77 * bimap before the exception was thrown. 86 * <p>Because a bimap has unique values, this method returns a {@link Set} [all...] |
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;
|
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...] |
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;
|
AbstractBiMap.java | 36 * A general-purpose bimap implementation using any two backing {@code Map} 47 implements BiMap<K, V>, Serializable { 52 /** Package-private constructor for creating a map-backed bimap. */ 57 /** Private constructor for inverse bimap. */ 153 public BiMap<V, K> inverse() { 363 * Serialization stores the forward bimap, the inverse of this inverse. 364 * Deserialization calls inverse() on the forward bimap and returns that 367 * If a bimap and its inverse are serialized together, the deserialized 372 * @serialData the forward bimap
|
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...] |
RegularImmutableBiMap.java | 22 * Bimap with one or more mappings.
|
package-info.java | 60 * <dt>{@link com.google.common.collect.BiMap} 64 * an {@linkplain com.google.common.collect.BiMap#inverse inverse view} -- 65 * which is another instance of {@code BiMap}. 134 * <h3>of {@link com.google.common.collect.BiMap}</h3>
|
/external/guava/javadoc/com/google/common/collect/class-use/ |
BiMap.html | 7 Uses of Interface com.google.common.collect.BiMap (Guava Libraries 2010.01.04) 18 parent.document.title="Uses of Interface com.google.common.collect.BiMap (Guava Libraries 2010.01.04)"; 42 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../com/google/common/collect/BiMap.html" title="interface in com.google.common.collect"><FONT CLASS="NavBarFont1"><B>Class</B></FONT></A> </TD> 62 <A HREF="BiMap.html" target="_top"><B>NO FRAMES</B></A> 84 <B>Uses of Interface<br>com.google.common.collect.BiMap</B></H2> 90 Packages that use <A HREF="../../../../../com/google/common/collect/BiMap.html" title="interface in com.google.common.collect">BiMap</A></FONT></TH> 104 Uses of <A HREF="../../../../../com/google/common/collect/BiMap.html" title="interface in com.google.common.collect">BiMap</A> in <A HREF="../../../../../com/google/common/collect/package-summary.html">com.google.common.collect</A></FONT></TH> 112 <TH ALIGN="left" COLSPAN="2">Classes in <A HREF="../../../../../com/google/common/collect/package-summary.html">com.google.common.collect</A> that implement <A HREF="../../../../../com/google/common/collect/BiMap.html" title="interface in com.google.common.collect">BiMap</A></FONT></TH [all...] |
ImmutableBiMap.html | 120 Returns a newly-created immutable bimap.</TD> 135 Returns an immutable bimap containing the same entries as <code>map</code>.</TD> 143 Returns the inverse view of this bimap, which maps each of this bimap's 159 Returns the empty bimap.</TD> 175 Returns an immutable bimap containing a single entry.</TD>
|
ForwardingMap.html | 120 A <code>BiMap</code> backed by two <code>EnumMap</code> instances.</TD> 128 A <code>BiMap</code> backed by an <code>EnumMap</code> instance for keys-to-values, and 154 A <A HREF="../../../../../com/google/common/collect/BiMap.html" title="interface in com.google.common.collect"><CODE>BiMap</CODE></A> backed by two <A HREF="http://java.sun.com/javase/6/docs/api/java/util/HashMap.html?is-external=true" title="class or interface in java.util"><CODE>HashMap</CODE></A> instances.</TD>
|
/external/guava/javadoc/com/google/common/collect/ |
BiMap.html | 7 BiMap (Guava Libraries 2010.01.04) 18 parent.document.title="BiMap (Guava Libraries 2010.01.04)"; 43 <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/BiMap.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> 61 <A HREF="../../../../index.html?com/google/common/collect/BiMap.html" target="_top"><B>FRAMES</B></A> 62 <A HREF="BiMap.html" target="_top"><B>NO FRAMES</B></A> 93 Interface BiMap<K,V></H2> 102 <DT><PRE>public interface <B>BiMap<K,V></B><DT>extends <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><K,V></DL> 106 A bimap (or "bidirectional map") is a map that preserves the uniqueness of 108 support an "inverse view", which is another bimap containing the same entries 109 as this bimap but with reversed keys and values [all...] |
HashBiMap.html | 101 <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../com/google/common/collect/BiMap.html" title="interface in com.google.common.collect">BiMap</A><K,V>, <A HREF="http://java.sun.com/javase/6/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><K,V></DD> 109 A <A HREF="../../../../com/google/common/collect/BiMap.html" title="interface in com.google.common.collect"><CODE>BiMap</CODE></A> backed by two <A HREF="http://java.sun.com/javase/6/docs/api/java/util/HashMap.html?is-external=true" title="class or interface in java.util"><CODE>HashMap</CODE></A> instances. This implementation 197 Constructs a new, empty bimap with the specified expected size.</TD> 212 Constructs a new bimap containing initial values from <code>map</code>.</TD> 238 with the value <code>value</code> before proceeding with the <A HREF="../../../../com/google/common/collect/BiMap.html#put(K, V)"><CODE>BiMap.put(K, V)</CODE></A> 243 <CODE> <A HREF="../../../../com/google/common/collect/BiMap.html" title="interface in com.google.common.collect">BiMap</A><V,K></CODE></FONT></TD [all...] |
EnumHashBiMap.html | 101 <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../com/google/common/collect/BiMap.html" title="interface in com.google.common.collect">BiMap</A><K,V>, <A HREF="http://java.sun.com/javase/6/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><K,V></DD> 109 A <code>BiMap</code> backed by an <code>EnumMap</code> instance for keys-to-values, and 201 Constructs a new bimap with the same mappings as the specified map.</TD> 227 with the value <code>value</code> before proceeding with the <A HREF="../../../../com/google/common/collect/BiMap.html#put(K, V)"><CODE>BiMap.put(K, V)</CODE></A> 232 <CODE> <A HREF="../../../../com/google/common/collect/BiMap.html" title="interface in com.google.common.collect">BiMap</A><V,K></CODE></FONT></TD> 236 Returns the inverse view of this bimap, which maps each of this bimap' [all...] |
EnumBiMap.html | 101 <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../com/google/common/collect/BiMap.html" title="interface in com.google.common.collect">BiMap</A><K,V>, <A HREF="http://java.sun.com/javase/6/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><K,V></DD> 109 A <code>BiMap</code> backed by two <code>EnumMap</code> instances. Null keys and values 202 Returns a new bimap with the same mappings as the specified map.</TD> 228 with the value <code>value</code> before proceeding with the <A HREF="../../../../com/google/common/collect/BiMap.html#put(K, V)"><CODE>BiMap.put(K, V)</CODE></A> 233 <CODE> <A HREF="../../../../com/google/common/collect/BiMap.html" title="interface in com.google.common.collect">BiMap</A><V,K></CODE></FONT></TD> 237 Returns the inverse view of this bimap, which maps each of this bimap' [all...] |
Maps.html | 405 <CODE><K,V> <A HREF="../../../../com/google/common/collect/BiMap.html" title="interface in com.google.common.collect">BiMap</A><K,V></CODE></FONT></TD> 409 <TD><CODE><B><A HREF="../../../../com/google/common/collect/Maps.html#synchronizedBiMap(com.google.common.collect.BiMap)">synchronizedBiMap</A></B>(<A HREF="../../../../com/google/common/collect/BiMap.html" title="interface in com.google.common.collect">BiMap</A><K,V> bimap)</CODE> 412 Returns a synchronized (thread-safe) bimap backed by the specified bimap.</TD> 454 <CODE><K,V> <A HREF="../../../../com/google/common/collect/BiMap.html" title="interface in com.google.common.collect">BiMap</A><K,V></CODE></FONT></TD [all...] |
ImmutableBiMap.html | 100 <DT><B>All Implemented Interfaces:</B> <DD><A HREF="../../../../com/google/common/collect/BiMap.html" title="interface in com.google.common.collect">BiMap</A><K,V>, <A HREF="http://java.sun.com/javase/6/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</A>, <A HREF="http://java.sun.com/javase/6/docs/api/java/util/Map.html?is-external=true" title="class or interface in java.util">Map</A><K,V></DD> 104 <DT><PRE>public abstract class <B>ImmutableBiMap<K,V></B><DT>extends <A HREF="../../../../com/google/common/collect/ImmutableMap.html" title="class in com.google.common.collect">ImmutableMap</A><K,V><DT>implements <A HREF="../../../../com/google/common/collect/BiMap.html" title="interface in com.google.common.collect">BiMap</A><K,V></DL> 108 An immutable <A HREF="../../../../com/google/common/collect/BiMap.html" title="interface in com.google.common.collect"><CODE>BiMap</CODE></A> with reliable user-specified iteration order. Does 115 make a "defensive copy" of a bimap provided to your class by a caller. 146 A builder for creating immutable bimap instances, especially <code>public 213 Returns an immutable bimap containing the same entries as <code>map</code>.</TD> 238 Guaranteed to throw an exception and leave the bimap unmodified.</TD [all...] |
ImmutableBiMap.Builder.html | 108 A builder for creating immutable bimap instances, especially <code>public 120 multiple times to build multiple bimaps in series. Each bimap is a superset 159 Returns a newly-created immutable bimap.</TD> 168 Associates <code>key</code> with <code>value</code> in the built bimap.</TD> 176 Associates all of the given map's keys and values in the built bimap.</TD> 227 <DD>Associates <code>key</code> with <code>value</code> in the built bimap. Duplicate 244 <DD>Associates all of the given map's keys and values in the built bimap. 264 <DD>Returns a newly-created immutable bimap.
|
package-use.html | 118 <TD><B><A HREF="../../../../com/google/common/collect/class-use/BiMap.html#com.google.common.collect"><B>BiMap</B></A></B> 121 A bimap (or "bidirectional map") is a map that preserves the uniqueness of 155 A <code>BiMap</code> backed by two <code>EnumMap</code> instances.</TD> 161 A <code>BiMap</code> backed by an <code>EnumMap</code> instance for keys-to-values, and 205 A <A HREF="../../../../com/google/common/collect/BiMap.html" title="interface in com.google.common.collect"><CODE>BiMap</CODE></A> backed by two <A HREF="http://java.sun.com/javase/6/docs/api/java/util/HashMap.html?is-external=true" title="class or interface in java.util"><CODE>HashMap</CODE></A> instances.</TD> 223 An immutable <A HREF="../../../../com/google/common/collect/BiMap.html" title="interface in com.google.common.collect"><CODE>BiMap</CODE></A> with reliable user-specified iteration order.</TD> 229 A builder for creating immutable bimap instances, especially <code>publi [all...] |
/sdk/monkeyrunner/src/com/android/monkeyrunner/recorder/actions/ |
PressAction.java | 18 import com.google.common.collect.BiMap; 33 public static final BiMap<String, String> DOWNUP_FLAG_MAP =
|
TouchAction.java | 18 import com.google.common.collect.BiMap; 29 public static final BiMap<String, String> DOWNUP_FLAG_MAP =
|
/development/samples/NFCDemo/src/com/example/android/nfc/record/ |
UriRecord.java | 27 import com.google.common.collect.BiMap; 51 private static final BiMap<Byte, String> URI_PREFIX_MAP = ImmutableBiMap.<Byte, String>builder()
|
/packages/apps/Tag/src/com/android/apps/tag/record/ |
UriRecord.java | 22 import com.google.common.collect.BiMap; 65 private static final BiMap<Byte, String> URI_PREFIX_MAP = ImmutableBiMap.<Byte, String>builder()
|