- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for createAsMap (0.05 sec)
-
guava/src/com/google/common/util/concurrent/AtomicLongMap.java
/** Returns a live, read-only view of the map backing this {@code AtomicLongMap}. */ public Map<K, Long> asMap() { Map<K, Long> result = asMap; return (result == null) ? asMap = createAsMap() : result; } private Map<K, Long> createAsMap() { return Collections.unmodifiableMap(map); } /** Returns true if this map contains a mapping for the specified key. */ public boolean containsKey(Object key) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Oct 10 23:13:45 UTC 2025 - 11.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/FilteredKeyMultimap.java
} } return false; } } @Override Collection<V> createValues() { return new FilteredMultimapValues<>(this); } @Override Map<K, Collection<V>> createAsMap() { return Maps.filterKeys(unfiltered.asMap(), keyPredicate); } @Override Multiset<K> createKeys() { return Multisets.filter(unfiltered.keys(), keyPredicate); }Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 6.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/TreeMultimap.java
Comparator<? super V> valueComparator, Multimap<? extends K, ? extends V> multimap) { this(keyComparator, valueComparator); putAll(multimap); } @Override Map<K, Collection<V>> createAsMap() { return createMaybeNavigableAsMap(); } /** * {@inheritDoc} * * <p>Creates an empty {@code TreeSet} for a collection of values for one key. *
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multimaps.java
this.factory = checkNotNull(factory); } @Override Set<K> createKeySet() { return createMaybeNavigableKeySet(); } @Override Map<K, Collection<V>> createAsMap() { return createMaybeNavigableAsMap(); } @Override protected Collection<V> createCollection() { return factory.get(); } @Override
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 86.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/LinkedListMultimap.java
} return new EntriesImpl(); } @Override Iterator<Entry<K, V>> entryIterator() { throw new AssertionError("should never be called"); } @Override Map<K, Collection<V>> createAsMap() { return new Multimaps.AsMap<>(this); } /** * @serialData the number of distinct keys, and then for each distinct key: the first key, theRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 27K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMultimap.java
*/ @Override @SuppressWarnings("unchecked") // a widening cast public ImmutableMap<K, Collection<V>> asMap() { return (ImmutableMap) map; } @Override Map<K, Collection<V>> createAsMap() { throw new AssertionError("should never be called"); } /** Returns an immutable collection of all key-value pairs in the multimap. */ @Override public ImmutableCollection<Entry<K, V>> entries() {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Dec 09 15:58:48 UTC 2025 - 28.1K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableMultimap.java
*/ @Override @SuppressWarnings("unchecked") // a widening cast public ImmutableMap<K, Collection<V>> asMap() { return (ImmutableMap) map; } @Override Map<K, Collection<V>> createAsMap() { throw new AssertionError("should never be called"); } /** Returns an immutable collection of all key-value pairs in the multimap. */ @Override public ImmutableCollection<Entry<K, V>> entries() {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Dec 09 15:58:48 UTC 2025 - 27.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractMapBasedMultimap.java
checkNotNull(action); map.forEach( (key, valueCollection) -> valueCollection.forEach(value -> action.accept(key, value))); } @Override Map<K, Collection<V>> createAsMap() { return new AsMap(map); } final Map<K, Collection<V>> createMaybeNavigableAsMap() { if (map instanceof NavigableMap) { return new NavigableAsMap((NavigableMap<K, Collection<V>>) map);
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Nov 17 22:50:48 UTC 2025 - 48.4K bytes - Viewed (0)