- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 248 for AsMap (0.05 sec)
-
guava/src/com/google/common/collect/AbstractSortedKeySortedSetMultimap.java
extends AbstractSortedSetMultimap<K, V> { AbstractSortedKeySortedSetMultimap(SortedMap<K, Collection<V>> map) { super(map); } @Override public SortedMap<K, Collection<V>> asMap() { return (SortedMap<K, Collection<V>>) super.asMap(); } @Override SortedMap<K, Collection<V>> backingMap() { return (SortedMap<K, Collection<V>>) super.backingMap(); } @Override public SortedSet<K> keySet() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 15 21:08:00 UTC 2021 - 1.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapContainsKeyTester.java
import com.google.common.collect.testing.features.MapFeature; import org.junit.Ignore; /** * Tester for the {@code containsKey} methods of {@code Multimap} and its {@code asMap()} view. * * @author Louis Wasserman */ @GwtCompatible @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Nov 16 17:41:24 UTC 2022 - 2.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/Multimap.java
* nor do its entries support {@link Entry#setValue setValue}. */ Map<K, Collection<V>> asMap(); // Comparison and hashing /** * Compares the specified object with this multimap for equality. Two multimaps are equal when * their map views, as returned by {@link #asMap}, are also equal. * * <p>In general, two multimaps with identical key-value mappings may or may not be equal,
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Sat Jun 17 14:40:53 UTC 2023 - 15.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapSizeTester.java
assertTrue(multimap.containsEntry(entry.getKey(), entry.getValue())); size++; } assertEquals(expectedSize, size); int size2 = 0; for (Entry<K, Collection<V>> entry2 : multimap.asMap().entrySet()) { size2 += entry2.getValue().size(); } assertEquals(expectedSize, size2); } @CollectionSize.Require(ZERO) public void testIsEmptyYes() { assertTrue(multimap().isEmpty());
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 3.7K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/ForwardingCache.java
public long size() { return delegate().size(); } @Override public CacheStats stats() { return delegate().stats(); } @Override public ConcurrentMap<K, V> asMap() { return delegate().asMap(); } @Override public void cleanUp() { delegate().cleanUp(); } /** * A simplified version of {@link ForwardingCache} where subclasses can pass in an already
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 15 18:00:07 UTC 2021 - 3.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/ListMultimapRemoveTester.java
for (int i = 0; i < 3; i++) { resetContainer(mapEntry(k0(), v0()), mapEntry(k0(), v1()), mapEntry(k0(), v0())); List<V> expectedValues = copyToList(values); List<V> asMapValue = (List<V>) multimap().asMap().get(k0()); asMapValue.remove(i); expectedValues.remove(i); assertGet(k0(), expectedValues); } } @MapFeature.Require(SUPPORTS_REMOVE) @CollectionSize.Require(SEVERAL)
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 20 17:00:05 UTC 2024 - 3.6K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AtomicLongMap.java
} @LazyInit @CheckForNull private transient Map<K, Long> asMap; /** 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);
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/collect/EmptyImmutableListMultimap.java
* just back this out once we stop doing that (which we'll do after our internal GWT setup * changes). */ @Override public ImmutableMap<Object, Collection<Object>> asMap() { return super.asMap(); } private Object readResolve() { return INSTANCE; // preserve singleton property } private static final long serialVersionUID = 0;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Aug 18 16:48:17 UTC 2022 - 1.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/EmptyImmutableListMultimap.java
* just back this out once we stop doing that (which we'll do after our internal GWT setup * changes). */ @Override public ImmutableMap<Object, Collection<Object>> asMap() { return super.asMap(); } private Object readResolve() { return INSTANCE; // preserve singleton property } private static final long serialVersionUID = 0;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Aug 18 16:48:17 UTC 2022 - 1.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractSortedKeySortedSetMultimap.java
extends AbstractSortedSetMultimap<K, V> { AbstractSortedKeySortedSetMultimap(SortedMap<K, Collection<V>> map) { super(map); } @Override public SortedMap<K, Collection<V>> asMap() { return (SortedMap<K, Collection<V>>) super.asMap(); } @Override SortedMap<K, Collection<V>> backingMap() { return (SortedMap<K, Collection<V>>) super.backingMap(); } @Override public SortedSet<K> keySet() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jun 15 21:08:00 UTC 2021 - 1.8K bytes - Viewed (0)