- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for createAsMap (0.17 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: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 11.8K bytes - Viewed (0) -
android/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( Maps.transformValues( map, new Function<AtomicLong, Long>() { @Override
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Apr 01 16:15:01 UTC 2024 - 14.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/FilteredEntryMultimap.java
} @Override Iterator<Entry<K, V>> entryIterator() { throw new AssertionError("should never be called"); } @Override Map<K, Collection<V>> createAsMap() { return new AsMap(); } @Override Set<K> createKeySet() { return asMap().keySet(); } boolean removeEntriesIf(Predicate<? super Entry<K, Collection<V>>> predicate) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Apr 24 19:38:27 UTC 2024 - 11.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/FilteredEntryMultimap.java
} @Override Iterator<Entry<K, V>> entryIterator() { throw new AssertionError("should never be called"); } @Override Map<K, Collection<V>> createAsMap() { return new AsMap(); } @Override Set<K> createKeySet() { return asMap().keySet(); } boolean removeEntriesIf(Predicate<? super Entry<K, Collection<V>>> predicate) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Apr 24 19:38:27 UTC 2024 - 11.9K 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: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 24.7K 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: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 21:19:52 UTC 2024 - 25.6K bytes - Viewed (0) -
android/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, the
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Oct 13 14:11:58 UTC 2023 - 27.2K 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, the
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Oct 13 14:11:58 UTC 2023 - 27.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractMapBasedMultimap.java
Entry<K, V> output(@ParametricNullness K key, @ParametricNullness V value) { return Maps.immutableEntry(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: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Oct 13 14:11:58 UTC 2023 - 46.6K 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: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri Oct 13 14:11:58 UTC 2023 - 48K bytes - Viewed (0)