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

1 23 4 5

  /external/guava/guava-tests/test/com/google/common/cache/
CacheRefreshTest.java 66 cache.asMap().put(1, -1);
CacheLoadingTest.java 442 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().get(extraKey))
    [all...]
CacheBuilderTest.java 385 CacheTesting.checkEmpty(nullCache.asMap());
523 assertEquals(expectedKeys, Sets.union(cache.asMap().keySet(), removalNotifications.keySet()));
524 assertTrue(Sets.intersection(cache.asMap().keySet(), removalNotifications.keySet()).isEmpty());
LocalLoadingCacheTest.java 205 // asMap tests
216 ConcurrentMap<Object, Object> map = cache.asMap();
270 ConcurrentMap<Object, Object> map = cache.asMap();
  /external/guava/guava/src/com/google/common/collect/
Synchronized.java 514 transient Map<K, Collection<V>> asMap;
648 public Map<K, Collection<V>> asMap() {
650 if (asMap == null) {
651 asMap = new SynchronizedAsMap<K, V>(delegate().asMap(), mutex);
653 return asMap;
AbstractMultimap.java 1153 private transient Map<K, Collection<V>> asMap;
    [all...]
LinkedListMultimap.java 72 * <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() {
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();
    [all...]
MapConstraints.java 199 * 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;
414 @Override public Map<K, Collection<V>> asMap() {
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 */
ImmutableSetMultimap.java 238 : 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()) {
ImmutableListMultimap.java 228 * the iteration ordering of the {@code multimap.asMap()} view.
257 : multimap.asMap().entrySet()) {
  /external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/
Synchronized.java 501 transient Map<K, Collection<V>> asMap;
635 public Map<K, Collection<V>> asMap() {
637 if (asMap == null) {
638 asMap = new SynchronizedAsMap<K, V>(delegate().asMap(), mutex);
640 return asMap;
LinkedListMultimap.java 68 * <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() {
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();
ImmutableSetMultimap.java 233 : 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()) {
ImmutableListMultimap.java 223 * the iteration ordering of the {@code multimap.asMap()} view.
252 : multimap.asMap().entrySet()) {
  /external/guava/guava-tests/test/com/google/common/collect/
AbstractListMultimapTest.java 102 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();
LinkedListMultimapTest.java 268 = map.asMap().entrySet().iterator();
464 return multimap.asMap().entrySet().iterator();
469 assertEquals(newHashSet(elements), multimap.asMap().entrySet());
TreeMultimapExplicitTest.java 137 multimap.asMap().entrySet().iterator();
  /external/protobuf/java/src/test/java/com/google/protobuf/
WireFormatTest.java 355 assertTrue(raw.getUnknownFields().asMap().isEmpty());
420 assertEquals(1, unknownFields.asMap().size());
  /external/guava/guava/src/com/google/common/eventbus/
EventBus.java 222 for (Entry<Class<?>, Collection<EventHandler>> entry : methodsInListener.asMap().entrySet()) {
  /external/llvm/lib/IR/
AsmWriter.cpp 327 /// asMap - The slot map for attribute sets.
328 DenseMap<AttributeSet, unsigned> asMap;
364 as_iterator as_begin() { return asMap.begin(); }
365 as_iterator as_end() { return asMap.end(); }
366 unsigned as_size() const { return asMap.size(); }
367 bool as_empty() const { return asMap.empty(); }
606 as_iterator AI = asMap.find(AS);
607 return AI == asMap.end() ? -1 : (int)AI->second;
664 as_iterator I = asMap.find(AS);
665 if (I != asMap.end()
    [all...]
  /external/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/
UnknownFieldSet.java 109 public Map<Integer, Field> asMap() {
449 public Map<Integer, Field> asMap() {
  /external/chromium_org/third_party/protobuf/java/src/test/java/com/google/protobuf/
WireFormatTest.java 366 assertTrue(raw.getUnknownFields().asMap().isEmpty());
441 assertEquals(1, unknownFields.asMap().size());
  /external/protobuf/java/src/main/java/com/google/protobuf/
UnknownFieldSet.java 109 public Map<Integer, Field> asMap() {
449 public Map<Integer, Field> asMap() {
  /external/guava/guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/
CacheBuilder.java 177 public ConcurrentMap<K, V> asMap() {
  /external/guava/guava-tests/test/com/google/common/util/concurrent/
AtomicLongMapTest.java 498 assertTrue(map.asMap().containsValue(0L));
501 assertFalse(map.asMap().containsValue(0L));
503 assertEquals(nonZeroKeys, map.asMap().keySet());

Completed in 1029 milliseconds

1 23 4 5