/external/guava/src/com/google/common/collect/ |
Multimap.java | 30 * but different values, the multimap contains mappings from the key to both 35 * multimap. If the multimap is modifiable, updating it can change the contents 36 * of those collections, and updating the collections will change the multimap. 38 * that are independent of subsequent multimap changes. 40 * <p>Depending on the implementation, a multimap may or may not allow duplicate 41 * key-value pairs. In other words, the multimap contents after adding the same 43 * duplicates, the multimap will contain two mappings, and {@code get} will 45 * supporting duplicates, the multimap will contain a single mapping from the 49 * <p>All methods that alter the multimap are optional, and the views returne [all...] |
ForwardingMultimap.java | 29 * A multimap which forwards all its method calls to another multimap. 31 * the backing multimap as desired per the <a 40 implements Multimap<K, V> { 42 @Override protected abstract Multimap<K, V> delegate(); 92 public boolean putAll(Multimap<? extends K, ? extends V> multimap) { 93 return delegate().putAll(multimap);
|
ListMultimap.java | 28 * A {@code Multimap} that can hold duplicate key-value pairs and that maintains 39 public interface ListMultimap<K, V> extends Multimap<K, V> { 45 * {@link java.util.Collection} specified in the {@link Multimap} interface. 54 * {@link java.util.Collection} specified in the {@link Multimap} interface. 63 * {@link java.util.Collection} specified in the {@link Multimap} interface. 76 * Compares the specified object to this multimap for equality.
|
SetMultimap.java | 28 * A {@code Multimap} that cannot hold duplicate key-value pairs. Adding a 29 * key-value pair that's already in the multimap has no effect. 40 public interface SetMultimap<K, V> extends Multimap<K, V> { 46 * specified in the {@link Multimap} interface. 55 * specified in the {@link Multimap} interface. 64 * specified in the {@link Multimap} interface. 66 * <p>Any duplicates in {@code values} will be stored in the multimap once. 75 * specified in the {@link Multimap} interface. 88 * Compares the specified object to this multimap for equality.
|
ImmutableMultimap.java | 32 * An immutable {@link Multimap}. Does not permit null keys or values. 34 * <p>Unlike {@link Multimaps#unmodifiableMultimap(Multimap)}, which is 35 * a <i>view</i> of a separate multimap which can still change, an instance of 39 * you easily make a "defensive copy" of a multimap provided to your class by 51 implements Multimap<K, V>, Serializable { 53 /** Returns an empty multimap. */ 59 * Returns an immutable multimap containing a single entry. 66 * Returns an immutable multimap containing the given entries, in order. 73 * Returns an immutable multimap containing the given entries, in order. 81 * Returns an immutable multimap containing the given entries, in order 406 final ImmutableMultimap<K, V> multimap; field in class:ImmutableMultimap.EntryCollection 487 final Multimap<?, V> multimap; field in class:Values [all...] |
ArrayListMultimap.java | 34 * Implementation of {@code Multimap} that uses an {@code ArrayList} to store 42 * <p>This multimap allows duplicate key-value pairs. After adding a new 47 * <p>Keys and values may be null. All optional multimap methods are supported, 54 * multimap. Concurrent read operations will work correctly. To allow concurrent 55 * update operations, wrap your multimap with a call to {@link 92 * specified multimap. 94 * @param multimap the multimap whose contents are copied to this multimap 97 Multimap<? extends K, ? extends V> multimap) [all...] |
HashMultimap.java | 32 * Implementation of {@link Multimap} using hash tables. 34 * <p>The multimap does not store duplicate key-value pairs. Adding a new 37 * <p>Keys and values may be null. All optional multimap methods are supported, 41 * multimap. Concurrent read operations will work correctly. To allow concurrent 42 * update operations, wrap your multimap with a call to {@link 79 * multimap. If a key-value mapping appears multiple times in the input 80 * multimap, it only appears once in the constructed multimap. 82 * @param multimap the multimap whose contents are copied to this multima [all...] |
Multimaps.java | 48 * Provides static methods acting on or generating a {@code Multimap}. 60 * Creates a new {@code Multimap} that uses the provided map and factory. It 61 * can generate a multimap based on arbitrary {@link Map} and 65 * multimap iteration order. They also specify the behavior of the 67 * multimap and its returned views. However, the multimap's {@code get} 71 * <p>The multimap is serializable if {@code map}, {@code factory}, the 72 * collections generated by {@code factory}, and the multimap contents are all 75 * <p>The multimap is not threadsafe when any concurrent operations update the 76 * multimap, even if {@code map} and the instances generated b [all...] |
TreeMultimap.java | 36 * Implementation of {@code Multimap} whose keys and values are ordered by 56 * <p>The multimap does not store duplicate key-value pairs. Adding a new 60 * supported. The natural ordering does not support nulls. All optional multimap 64 * multimap. Concurrent read operations will work correctly. To allow concurrent 65 * update operations, wrap your multimap with a call to {@link 103 * keys and values, with the same mappings as the specified multimap. 105 * @param multimap the multimap whose contents are copied to this multimap 109 TreeMultimap<K, V> create(Multimap<? extends K, ? extends V> multimap) [all...] |
Serialization.java | 42 * Reads a count corresponding to a serialized map, multiset, or multimap. It 47 * keys in a multimap serialized by {@link 48 * #writeMultimap(Multimap, ObjectOutputStream)}. 153 * Stores the contents of a multimap in an output stream, as part of 155 * change while the method is running. The {@link Multimap#asMap} view 164 Multimap<K, V> multimap, ObjectOutputStream stream) throws IOException { 165 stream.writeInt(multimap.asMap().size()); 166 for (Map.Entry<K, Collection<V>> entry : multimap.asMap().entrySet()) { 176 * Populates a multimap by reading an input stream, as part o [all...] |
ImmutableSetMultimap.java | 38 * a <i>view</i> of a separate multimap which can still change, an instance of 42 * you easily make a "defensive copy" of a multimap provided to your class by 57 /** Returns the empty multimap. */ 58 // Casting is safe because the multimap will never hold any elements. 67 * Returns an immutable multimap containing a single entry. 76 * Returns an immutable multimap containing the given entries, in order. 88 * Returns an immutable multimap containing the given entries, in order. 102 * Returns an immutable multimap containing the given entries, in order. 117 * Returns an immutable multimap containing the given entries, in order. 142 * Multimap for {@link ImmutableSetMultimap.Builder} that maintains ke [all...] |
Synchronized.java | 585 * Returns a synchronized (thread-safe) multimap backed by the specified 586 * multimap using the specified mutex. In order to guarantee serial access, it 587 * is critical that <b>all</b> access to the backing multimap is accomplished 588 * through the returned multimap. 591 * mutex when accessing any of the return multimap's collection views: 594 * Multimap<K, V> m = Synchronized.multimap( 608 * @param multimap the multimap to be wrapped in a synchronized view 609 * @return a synchronized view of the specified multimap 611 public static <K, V> Multimap<K, V> multimap( method in class:Synchronized [all...] |
ImmutableListMultimap.java | 35 * a <i>view</i> of a separate multimap which can still change, an instance of 39 * you easily make a "defensive copy" of a multimap provided to your class by 54 /** Returns the empty multimap. */ 55 // Casting is safe because the multimap will never hold any elements. 64 * Returns an immutable multimap containing a single entry. 74 * Returns an immutable multimap containing the given entries, in order. 85 * Returns an immutable multimap containing the given entries, in order. 98 * Returns an immutable multimap containing the given entries, in order. 112 * Returns an immutable multimap containing the given entries, in order. 141 * static final Multimap<String, Integer> STRING_TO_INTEGER_MULTIMAP [all...] |
LinkedHashMultimap.java | 36 * Implementation of {@code Multimap} that does not allow duplicate key-value 38 * which the data was added to the multimap. 42 * multimap. Similarly, {@code get}, {@code removeAll}, and {@code 46 * added to the multimap. 52 * then add the key back to the multimap, that key will come last in the key 55 * <p>The multimap does not store duplicate key-value pairs. Adding a new 58 * <p>Keys and values may be null. All optional multimap methods are supported, 62 * multimap. Concurrent read operations will work correctly. To allow concurrent 63 * update operations, wrap your multimap with a call to {@link 78 * key-value pairs were added to the multimap [all...] |
LinkedListMultimap.java | 50 * across non-distinct key values. For example, for the following multimap 53 * Multimap<K, V> multimap = LinkedListMultimap.create(); 54 * multimap.put(key1, foo); 55 * multimap.put(key2, bar); 56 * multimap.put(key1, baz);}</pre> 71 * through the keys in the order they were first added to the multimap. 76 * added to the multimap. 78 * <p>Keys and values may be null. All optional multimap methods are supported, 83 * multimap. If the multimap is modified while an iteration over any of thos [all...] |
AbstractMultimap.java | 45 * Basic implementation of the {@link Multimap} interface. This class represents 46 * a multimap as a map that associates each key with a collection of values. All 47 * methods of {@link Multimap} are supported, including those specified as 50 * <p>To implement a multimap, a subclass must define the method {@link 53 * <p>The multimap constructor takes a map that has a single entry for each 55 * in the multimap, {@code AbstractMultimap} calls {@link #createCollection()} 62 * java.util.TreeSet}, in which case the multimap's iterators would propagate 76 * multimap, even if the underlying map and {@link #createCollection()} method 78 * allow concurrent update operations, wrap your multimap with a call to {@link 87 abstract class AbstractMultimap<K, V> implements Multimap<K, V>, Serializable [all...] |
/packages/apps/Settings/src/com/android/settings/wifi/ |
WifiSettings.java | 494 Multimap<String, AccessPoint> apMap = new Multimap<String, AccessPoint>(); 533 /** A restricted multimap for use in constructAccessPoints */ 534 private class Multimap<K,V> { [all...] |
/prebuilt/common/tradefed/ |
tradefed-prebuilt.jar | |
/development/samples/NFCDemo/libs/ |
guava-10.0.1.jar | |