- Sort Score
- Result 10 results
- Languages All
Results 121 - 130 of 195 for KeySet (0.03 sec)
-
guava-testlib/test/com/google/common/collect/testing/OpenJdk6MapTests.java
return asList( getPutNullKeyUnsupportedMethod(), getPutAllNullKeyUnsupportedMethod(), getCreateWithNullKeyUnsupportedMethod(), getCreateWithNullUnsupportedMethod(), // for keySet getContainsEntryWithIncomparableKeyMethod(), getContainsEntryWithIncomparableValueMethod()); } @Override protected Collection<Method> suppressForConcurrentHashMap() { /*
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 4.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/collection/MultiIterator.java
* import static org.codelibs.core.collection.MultiIterator.*; * * List<String> list = ...; * Set<String> set = ...; * Map<String, Object> map = ...; * for (String element : iterable(list, set, map.keySet())) { * ... * } * </pre> * * @author koichik * @param <E> the element type */ public class MultiIterator<E> implements Iterator<E> { /** Array of {@link Iterator}s. */
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 3.5K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/OpenJdk6MapTests.java
return asList( getPutNullKeyUnsupportedMethod(), getPutAllNullKeyUnsupportedMethod(), getCreateWithNullKeyUnsupportedMethod(), getCreateWithNullUnsupportedMethod(), // for keySet getContainsEntryWithIncomparableKeyMethod(), getContainsEntryWithIncomparableValueMethod()); } @Override protected Collection<Method> suppressForConcurrentHashMap() { /*
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 3.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapClearTester.java
@CollectionSize.Require(SEVERAL) public void testClearConcurrentWithKeySetIteration() { assertThrows( ConcurrentModificationException.class, () -> { Iterator<K> iterator = getMap().keySet().iterator(); getMap().clear(); iterator.next(); }); } @MapFeature.Require({FAILS_FAST_ON_CONCURRENT_MODIFICATION, SUPPORTS_REMOVE}) @CollectionSize.Require(SEVERAL)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 3.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Multimaps.java
keys = result = Multisets.unmodifiableMultiset(delegate.keys()); } return result; } @Override public Set<K> keySet() { Set<K> result = keySet; if (result == null) { keySet = result = Collections.unmodifiableSet(delegate.keySet()); } return result; } @Override public boolean put(@ParametricNullness K key, @ParametricNullness V value) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 86.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/Multimaps.java
keys = result = Multisets.unmodifiableMultiset(delegate.keys()); } return result; } @Override public Set<K> keySet() { Set<K> result = keySet; if (result == null) { keySet = result = Collections.unmodifiableSet(delegate.keySet()); } return result; } @Override public boolean put(@ParametricNullness K key, @ParametricNullness V value) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 86.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableBiMap.java
@SuppressWarnings("unchecked") ImmutableList<K> keyList = (ImmutableList<K>) new RegularImmutableMap.KeysOrValuesAsList(alternatingKeysAndValues, keyOffset, size); return new RegularImmutableMap.KeySet<>(this, keyList); } @Override boolean isPartialView() { return false; } // redeclare to help optimizers with b/310253115 @SuppressWarnings("RedundantOverride") @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 4.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableMap.java
@Override Object writeReplace() { return super.writeReplace(); } } static final class KeySet<K> extends ImmutableSet<K> { private final transient ImmutableMap<K, ?> map; private final transient ImmutableList<K> list; KeySet(ImmutableMap<K, ?> map, ImmutableList<K> list) { this.map = map; this.list = list; } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 22.5K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/collect/testing/SafeTreeMapTest.java
Map<String, Integer> map = ImmutableSortedMap.of("one", 1, "two", 2, "three", 3); SerializableTester.reserializeAndAssert(map.entrySet()); SerializableTester.reserializeAndAssert(map.keySet()); assertEquals( new ArrayList<>(map.values()), new ArrayList<>(SerializableTester.reserialize(map.values()))); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 4.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapSizeTester.java
assertEquals(3, multimap().size()); assertEquals(3, multimap().entries().size()); assertEquals(3, multimap().keys().size()); assertEquals(1, multimap().keySet().size()); assertEquals(1, multimap().asMap().size()); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3.8K bytes - Viewed (0)