/external/guava/guava/src/com/google/common/collect/ |
ListMultimap.java | 33 * so explicitly, the map returned by {@link #asMap} has {@code List} values. 77 Map<K, Collection<V>> asMap();
|
SortedSetMultimap.java | 39 * so explicitly, the map returned by {@link #asMap} has {@code SortedSet} 94 * asMap().get(Object)} has the same behavior as {@link #get}, returning a 96 * asMap().get(Object)} returns {@code null} instead of an empty collection. 102 Map<K, Collection<V>> asMap();
|
AbstractListMultimap.java | 104 @Override public Map<K, Collection<V>> asMap() { 105 return super.asMap();
|
AbstractSetMultimap.java | 104 @Override public Map<K, Collection<V>> asMap() { 105 return super.asMap();
|
AbstractSortedSetMultimap.java | 102 * asMap().get(Object)} has the same behavior as {@link #get}, returning a 104 * asMap().get(Object)} returns {@code null} instead of an empty collection. 109 @Override public Map<K, Collection<V>> asMap() { 110 return super.asMap();
|
SetMultimap.java | 34 * the map returned by {@link #asMap} has {@code Set} values. 90 Map<K, Collection<V>> asMap();
|
ForwardingMultimap.java | 47 public Map<K, Collection<V>> asMap() { 48 return delegate().asMap();
|
Multimap.java | 34 * {@link #entries}, and {@link #asMap} return collections that are views of the 230 * asMap().get(Object)} has the same behavior as {@link #get}, returning a 232 * asMap().get(Object)} returns {@code null} instead of an empty collection. 236 Map<K, Collection<V>> asMap(); 242 * multimaps are equal when their map views, as returned by {@link #asMap}, 252 * {@link ListMultimap}, since their {@link #asMap} views contain unequal 254 * they both have empty {@link #asMap} views. 263 * as returned by {@link Multimap#asMap}.
|
TreeMultimap.java | 46 * <p>The collections returned by {@code keySet} and {@code asMap} iterate 167 @Override public SortedMap<K, Collection<V>> asMap() { 168 return (SortedMap<K, Collection<V>>) super.asMap();
|
Multimaps.java | 508 @Override public Map<K, Collection<V>> asMap() { 512 = Collections.unmodifiableMap(delegate.asMap()); [all...] |
/external/guava/guava/src/com/google/common/cache/ |
LoadingCache.java | 58 * {@code Cache.asMap().putIfAbsent} after loading has completed; if another value was associated 84 * {@code Cache.asMap().putIfAbsent} after loading has completed; if another value was associated 157 ConcurrentMap<K, V> asMap();
|
Cache.java | 131 ConcurrentMap<K, V> asMap();
|
ForwardingCache.java | 109 public ConcurrentMap<K, V> asMap() { 110 return delegate().asMap();
|
AbstractCache.java | 115 public ConcurrentMap<K, V> asMap() {
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
TreeMultimap.java | 42 * <p>The collections returned by {@code keySet} and {@code asMap} iterate 163 @Override public SortedMap<K, Collection<V>> asMap() { 164 return (SortedMap<K, Collection<V>>) super.asMap();
|
Multimaps.java | 419 @Override public Map<K, Collection<V>> asMap() { 423 = Collections.unmodifiableMap(delegate.asMap()); 813 * Returns an unmodifiable view of the specified multimap {@code asMap} entry. 856 * Returns an unmodifiable view of the specified set of {@code asMap} entries. 861 * @param asMapEntries the {@code asMap} entries for which to return an [all...] |
/external/guava/guava/src/com/google/common/util/concurrent/ |
AtomicLongMap.java | 24 * {@link #asMap}, and {@link #toString}. 265 private transient Map<K, Long> asMap; 270 public Map<K, Long> asMap() { 271 Map<K, Long> result = asMap; 272 return (result == null) ? asMap = createAsMap() : result;
|
/external/guava/guava-tests/test/com/google/common/cache/ |
ForwardingCacheTest.java | 108 expect(mock.asMap()).andReturn(null); 110 assertNull(forward.asMap());
|
ForwardingLoadingCacheTest.java | 120 expect(mock.asMap()).andReturn(null); 122 assertNull(forward.asMap());
|
PopulatedCachesTest.java | 62 assertMapSize(cache.asMap(), WARMUP_SIZE); 73 assertTrue(cache.asMap().containsKey(entry.getKey())); 74 assertTrue(cache.asMap().containsValue(entry.getValue())); 90 assertSame(entry.getValue(), cache.asMap().put(entry.getKey(), newValue)); 94 assertNull(cache.asMap().put(newKey, entry.getValue())); 113 assertSame(entry.getValue(), cache.asMap().putIfAbsent(entry.getKey(), newValue)); 115 assertNull(cache.asMap().putIfAbsent(newKey, entry.getValue())); 133 cache.asMap().putAll(ImmutableMap.of(newKey, newValue)); 148 assertSame(entry.getValue(), cache.asMap().replace(entry.getKey(), newValue)); 149 assertTrue(cache.asMap().replace(entry.getKey(), newValue, entry.getValue())) [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
TreeMultimapNaturalTest.java | 99 multimap.asMap().entrySet().iterator(); 451 return multimap.asMap().entrySet().iterator(); 456 assertEquals(newHashSet(elements), multimap.asMap().entrySet()); 518 SortedMap<String, Collection<Integer>> asMap = multimap.asMap(); 519 assertEquals(Ordering.natural(), asMap.comparator()); 520 assertEquals("foo", asMap.firstKey()); 521 assertEquals("tree", asMap.lastKey()); 526 asMap.tailMap("g")); 528 asMap.headMap("h")) [all...] |
ForwardingMultimapTest.java | 134 forward.asMap(); 135 assertEquals("[asMap]", getCalls());
|
SynchronizedMultimapTest.java | 161 @Override public Map<K, Collection<V>> asMap() { 164 return super.asMap();
|
MapConstraintsTest.java | 235 ASSERT.that(constrained.asMap().get("foo")).hasContentsInOrder(1); 236 assertNull(constrained.asMap().get("missing")); 237 assertEquals(multimap.asMap(), constrained.asMap()); 256 assertFalse(constrained.asMap().values() instanceof Serializable); 258 constrained.asMap().values().iterator(); 271 = multimap.asMap().entrySet().iterator().next(); 284 = multimap.asMap().entrySet().iterator().next(); 297 = multimap.asMap().entrySet().iterator().next(); 310 = multimap.asMap().entrySet().iterator().next() [all...] |
/external/guava/guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/ |
CacheBuilder.java | 177 public ConcurrentMap<K, V> asMap() {
|