HomeSort by relevance Sort by last modified time
    Searched refs:asMap (Results 26 - 50 of 105) sorted by null

12 3 4 5

  /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());
CacheEvictionTest.java 171 Set<Integer> keySet = cache.asMap().keySet();
204 Set<Integer> keySet = cache.asMap().keySet();
247 Set<Integer> keySet = cache.asMap().keySet();
269 Set<Integer> keySet = cache.asMap().keySet();
CacheTesting.java 442 assertFalse(cache.asMap().containsKey(null));
443 assertFalse(cache.asMap().containsKey(6));
444 assertFalse(cache.asMap().containsValue(null));
445 assertFalse(cache.asMap().containsValue(6));
446 checkEmpty(cache.asMap());
  /external/guava/guava/src/com/google/common/cache/
Cache.java 131 ConcurrentMap<K, V> asMap();
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();
AbstractCache.java 115 public ConcurrentMap<K, V> asMap() {
  /external/guava/guava/src/com/google/common/collect/
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}.
Multimaps.java 508 @Override public Map<K, Collection<V>> asMap() {
512 = Collections.unmodifiableMap(delegate.asMap());
    [all...]
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();
ImmutableMultimap.java 224 * of the {@code multimap.asMap()} view, with new keys and values following
232 : multimap.asMap().entrySet()) {
266 for (Collection<V> values : builderMultimap.asMap().values()) {
278 * the iteration ordering of the {@code multimap.asMap()} view.
454 return this.map.equals(that.asMap());
485 public ImmutableMap<K, Collection<V>> asMap() {
Serialization.java 144 * change while the method is running. The {@link Multimap#asMap} view
153 stream.writeInt(multimap.asMap().size());
154 for (Map.Entry<K, Collection<V>> entry : multimap.asMap().entrySet()) {
  /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-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
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...]
ImmutableMultimap.java 223 * of the {@code multimap.asMap()} view, with new keys and values following
231 : multimap.asMap().entrySet()) {
265 for (Collection<V> values : builderMultimap.asMap().values()) {
277 * the iteration ordering of the {@code multimap.asMap()} view.
444 return this.map.equals(that.asMap());
475 public ImmutableMap<K, Collection<V>> asMap() {
  /external/chromium_org/third_party/protobuf/java/src/test/java/com/google/protobuf/
UnknownFieldSetTest.java 76 unknownFields.asMap().entrySet()) {
137 assertEquals(1, group.asMap().size());
199 assertTrue(fields.asMap().isEmpty());
221 assertEquals(1, destination.getUnknownFields().asMap().size());
249 assertEquals(unknownFields.asMap().size(),
250 message.getUnknownFields().asMap().size());
DynamicMessageTest.java 93 assertEquals(2, message.getUnknownFields().asMap().size());
96 assertEquals(2, newBuilder.getUnknownFields().asMap().size());
99 assertTrue(newBuilder.getUnknownFields().asMap().isEmpty());
102 assertEquals(2, newBuilder.getUnknownFields().asMap().size());
  /external/protobuf/java/src/test/java/com/google/protobuf/
UnknownFieldSetTest.java 76 unknownFields.asMap().entrySet()) {
137 assertEquals(1, group.asMap().size());
199 assertTrue(fields.asMap().isEmpty());
221 assertEquals(1, destination.getUnknownFields().asMap().size());
249 assertEquals(unknownFields.asMap().size(),
250 message.getUnknownFields().asMap().size());
  /external/guava/guava-tests/test/com/google/common/collect/
ForwardingMultimapTest.java 134 forward.asMap();
135 assertEquals("[asMap]", getCalls());
AbstractSetMultimapTest.java 62 Map<String, Collection<Integer>> map = multimap.asMap();
83 = multimap.asMap().entrySet();
106 Collection<Collection<Integer>> asMapValues = multimap.asMap().values();
MultimapsTest.java 293 unmodifiable.asMap().entrySet(), multimap.asMap().entrySet());
299 ASSERT.that(unmodifiable.asMap().get("bar")).hasContentsAnyOrder(5, -1);
300 assertNull(unmodifiable.asMap().get("missing"));
303 assertFalse(unmodifiable.asMap().values() instanceof Serializable);
435 ASSERT.that(multimapView.asMap().entrySet()).hasContentsAnyOrder(
478 Map<String, Collection<Integer>> asMap = Multimaps.forMap(map).asMap();
479 assertEquals(Collections.singleton(1), asMap.get("foo"));
480 assertNull(asMap.get("cow"))
    [all...]
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...]
ImmutableSetMultimapTest.java 228 assertFalse(multimap.asMap().get("a") instanceof ImmutableSortedSet);
252 assertTrue(multimap.asMap().get("a") instanceof ImmutableSortedSet);
254 ((ImmutableSortedSet<Integer>) multimap.asMap().get("a")).comparator());
279 assertTrue(multimap.asMap().get("a") instanceof ImmutableSortedSet);
281 ((ImmutableSortedSet<Integer>) multimap.asMap().get("a")).comparator());
461 SerializableTester.reserializeAndAssert(multimap.asMap());
SynchronizedMultimapTest.java 161 @Override public Map<K, Collection<V>> asMap() {
164 return super.asMap();
LinkedHashMultimapTest.java 105 multimap.asMap().entrySet().iterator();
348 return multimap.asMap().entrySet().iterator();
353 assertEquals(newHashSet(elements), multimap.asMap().entrySet());

Completed in 871 milliseconds

12 3 4 5