Searched refs:asMap (Results 51 - 75 of 75) sorted by relevance

123

/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
H A DSynchronized.java501 transient Map<K, Collection<V>> asMap; field in class:Synchronized.SynchronizedMultimap
635 public Map<K, Collection<V>> asMap() { method in class:Synchronized.SynchronizedMultimap
637 if (asMap == null) {
638 asMap = new SynchronizedAsMap<K, V>(delegate().asMap(), mutex);
640 return asMap;
H A DLinkedListMultimap.java68 * <p>The collections returned by {@link #keySet()} and {@link #asMap} iterate
81 * {@link #values}, {@link #entries()}, and {@link #asMap} return collections
1032 public Map<K, Collection<V>> asMap() { method in class:LinkedListMultimap
1083 return this.asMap().equals(that.asMap());
1092 * as returned by {@link Multimap#asMap}.
1095 return asMap().hashCode();
1100 * {@code toString} on the map returned by {@link Multimap#asMap}.
1105 return asMap().toString();
H A DImmutableSetMultimap.java233 : multimap.asMap().entrySet()) {
255 * method of the generated multimap and its {@link Multimap#asMap()} view
280 * correspond to the iteration ordering of the {@code multimap.asMap()} view.
317 : multimap.asMap().entrySet()) {
H A DImmutableListMultimap.java223 * the iteration ordering of the {@code multimap.asMap()} view.
252 : multimap.asMap().entrySet()) {
/external/guava/guava-tests/test/com/google/common/cache/
H A DCacheLoadingTest.java442 assertSame(value, cache.asMap().get(key));
443 assertSame(key, cache.asMap().get(value));
468 cache.asMap().put(extraKey, extraKey);
469 assertSame(extraKey, cache.asMap().get(extraKey));
478 assertSame(value, cache.asMap().get(key));
481 assertSame(extraValue, cache.asMap().get(extraKey));
506 cache.asMap().put(extraKey, extraKey);
507 assertSame(extraKey, cache.asMap().get(extraKey));
516 assertTrue(cache.asMap().containsKey(key));
518 assertSame(extraValue, cache.asMap()
[all...]
H A DCacheBuilderTest.java385 CacheTesting.checkEmpty(nullCache.asMap());
523 assertEquals(expectedKeys, Sets.union(cache.asMap().keySet(), removalNotifications.keySet()));
524 assertTrue(Sets.intersection(cache.asMap().keySet(), removalNotifications.keySet()).isEmpty());
H A DLocalLoadingCacheTest.java205 // asMap tests
216 ConcurrentMap<Object, Object> map = cache.asMap();
270 ConcurrentMap<Object, Object> map = cache.asMap();
H A DLocalCacheTest.java2322 assertFalse(one.asMap().isEmpty());
2325 assertTrue(two.asMap().isEmpty());
2377 assertFalse(one.asMap().isEmpty());
2380 assertTrue(two.asMap().isEmpty());
/external/guava/guava/src/com/google/common/collect/
H A DAbstractMultimap.java1153 private transient Map<K, Collection<V>> asMap; field in class:AbstractMultimap
1156 public Map<K, Collection<V>> asMap() { method in class:AbstractMultimap
1157 Map<K, Collection<V>> result = asMap;
1158 return (result == null) ? asMap = createAsMap() : result;
1357 return this.map.equals(that.asMap());
1366 * as returned by {@link Multimap#asMap}.
1376 * {@code toString} on the map returned by {@link Multimap#asMap}.
H A DLinkedListMultimap.java72 * <p>The collections returned by {@link #keySet()} and {@link #asMap} iterate
85 * {@link #values}, {@link #entries()}, and {@link #asMap} return collections
1036 public Map<K, Collection<V>> asMap() { method in class:LinkedListMultimap
1087 return this.asMap().equals(that.asMap());
1096 * as returned by {@link Multimap#asMap}.
1099 return asMap().hashCode();
1104 * {@code toString} on the map returned by {@link Multimap#asMap}.
1109 return asMap().toString();
H A DMapConstraints.java199 * Returns a constrained view of the specified {@code asMap} entry, using the
204 * @param entry the {@code asMap} entry to constrain
231 * Returns a constrained view of the specified set of {@code asMap} entries,
402 transient Map<K, Collection<V>> asMap; field in class:MapConstraints.ConstrainedMultimap
414 @Override public Map<K, Collection<V>> asMap() { method in class:MapConstraints.ConstrainedMultimap
415 Map<K, Collection<V>> result = asMap;
417 final Map<K, Collection<V>> asMapDelegate = delegate.asMap();
419 asMap = result = new ForwardingMap<K, Collection<V>>() {
506 /** @see ConstrainedMultimap#asMap */
H A DImmutableSetMultimap.java238 : multimap.asMap().entrySet()) {
260 * method of the generated multimap and its {@link Multimap#asMap()} view
285 * correspond to the iteration ordering of the {@code multimap.asMap()} view.
322 : multimap.asMap().entrySet()) {
H A DImmutableListMultimap.java228 * the iteration ordering of the {@code multimap.asMap()} view.
257 : multimap.asMap().entrySet()) {
/external/guava/guava-tests/test/com/google/common/collect/
H A DAbstractListMultimapTest.java102 Map<String, Collection<Integer>> map = multimap.asMap();
119 * Confirm that asMap().entrySet() returns values equal to a List.
126 multimap.asMap().entrySet().iterator();
138 Collection<Collection<Integer>> asMapValues = multimap.asMap().values();
H A DLinkedListMultimapTest.java268 = map.asMap().entrySet().iterator();
464 return multimap.asMap().entrySet().iterator();
469 assertEquals(newHashSet(elements), multimap.asMap().entrySet());
H A DTreeMultimapExplicitTest.java137 multimap.asMap().entrySet().iterator();
H A DAbstractMultimapTest.java105 multimap.asMap().entrySet()) {
562 Map<String, Collection<Integer>> map = multimap.asMap();
599 multimap.asMap().entrySet();
634 assertEquals("{foo=[1]}", multimap.asMap().toString());
1275 multimap.asMap().entrySet();
H A DImmutableListMultimapTest.java465 SerializableTester.reserializeAndAssert(multimap.asMap());
/external/protobuf/java/src/test/java/com/google/protobuf/
H A DWireFormatTest.java355 assertTrue(raw.getUnknownFields().asMap().isEmpty());
420 assertEquals(1, unknownFields.asMap().size());
/external/guava/guava/src/com/google/common/eventbus/
H A DEventBus.java222 for (Entry<Class<?>, Collection<EventHandler>> entry : methodsInListener.asMap().entrySet()) {
/external/protobuf/java/src/main/java/com/google/protobuf/
H A DUnknownFieldSet.java109 public Map<Integer, Field> asMap() { method in class:UnknownFieldSet
449 public Map<Integer, Field> asMap() { method in class:UnknownFieldSet.Builder
H A DTextFormat.java252 unknownFields.asMap().entrySet()) {
/external/guava/guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/
H A DCacheBuilder.java177 public ConcurrentMap<K, V> asMap() { method in class:CacheBuilder.LocalManualCache
/external/guava/guava-tests/test/com/google/common/util/concurrent/
H A DAtomicLongMapTest.java498 assertTrue(map.asMap().containsValue(0L));
501 assertFalse(map.asMap().containsValue(0L));
503 assertEquals(nonZeroKeys, map.asMap().keySet());
/external/guava/guava/src/com/google/common/cache/
H A DLocalCache.java4804 public ConcurrentMap<K, V> asMap() { method in class:LocalCache.LocalManualCache

Completed in 287 milliseconds

123