- Sort Score
- Num 10 results
- Language All
Results 211 - 220 of 305 for entrySet (0.04 seconds)
-
guava-tests/test/com/google/common/collect/ForwardingSortedMultisetTest.java
public SortedMultiset<E> descendingMultiset() { return new StandardDescendingMultiset() { @Override Iterator<Entry<E>> entryIterator() { return backingMultiset.descendingMultiset().entrySet().iterator(); } }; } @Override public NavigableSet<E> elementSet() { return new StandardElementSet(); } @Override public Entry<E> firstEntry() {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue May 13 18:46:00 GMT 2025 - 6.5K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/MapGenerators.java
@SuppressWarnings("unchecked") Entry<String, Integer> entry = (Entry<String, Integer>) checkNotNull(o); builder.put(entry); } return builder.buildOrThrow().entrySet().asList(); } } public static class ImmutableEnumMapGenerator extends TestEnumMapGenerator { @Override protected Map<AnEnum, String> create(Entry<AnEnum, String>[] entries) {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Sun Aug 10 19:54:19 GMT 2025 - 8.6K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java
Map<String, IntHolder> map = ImmutableMap.of("a", holderA, "b", holderB); holderA.value = 3; assertTrue(map.entrySet().contains(immutableEntry("a", new IntHolder(3)))); Map<String, Integer> intMap = ImmutableMap.of("a", 3, "b", 2); assertEquals(intMap.hashCode(), map.entrySet().hashCode()); assertEquals(intMap.hashCode(), map.hashCode()); } @J2ktIncompatible
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 36.7K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapPutAllTester.java
public void testPutAllSomePresentConcurrentWithEntrySetIteration() { assertThrows( ConcurrentModificationException.class, () -> { Iterator<Entry<K, V>> iterator = getMap().entrySet().iterator(); putAll(MinimalCollection.of(e3(), e0())); iterator.next(); }); } @MapFeature.Require(absent = SUPPORTS_PUT) @CollectionSize.Require(absent = ZERO)
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6.8K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultimapRemoveEntryTester.java
for (Entry<K, V> entry : entries) { resetContainer(); K key = entry.getKey(); V value = entry.getValue(); Iterator<Entry<K, Collection<V>>> asMapItr = multimap().asMap().entrySet().iterator(); Collection<V> collection = null; while (asMapItr.hasNext()) { Entry<K, Collection<V>> asMapEntry = asMapItr.next(); if (key.equals(asMapEntry.getKey())) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 6.7K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/io/CharSourceTester.java
static TestSuite tests(String name, CharSourceFactory factory, boolean testAsByteSource) { TestSuite suite = new TestSuite(name); for (Entry<String, String> entry : TEST_STRINGS.entrySet()) { if (testAsByteSource) { suite.addTest( suiteForBytes(factory, entry.getValue().getBytes(UTF_8), name, entry.getKey(), true)); } else {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 28 16:03:47 GMT 2025 - 6.9K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultimapRemoveEntryTester.java
for (Entry<K, V> entry : entries) { resetContainer(); K key = entry.getKey(); V value = entry.getValue(); Iterator<Entry<K, Collection<V>>> asMapItr = multimap().asMap().entrySet().iterator(); Collection<V> collection = null; while (asMapItr.hasNext()) { Entry<K, Collection<V>> asMapEntry = asMapItr.next(); if (key.equals(asMapEntry.getKey())) {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 6.7K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileInjector.java
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 8K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/MapMakerInternalMap.java
return (vs != null) ? vs : (values = new Values()); } @LazyInit transient @Nullable Set<Entry<K, V>> entrySet; @Override public Set<Entry<K, V>> entrySet() { Set<Entry<K, V>> es = entrySet; return (es != null) ? es : (entrySet = new EntrySet()); } // Iterator Support abstract class HashIterator<T> implements Iterator<T> {
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 22 18:35:44 GMT 2025 - 89.9K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/BiMapTestSuiteBuilder.java
.named(parentBuilder.getName() + " [Map]") .suppressing(parentBuilder.getSuppressedTests()) .suppressing(SetCreationTester.class.getMethods()) // BiMap.entrySet() duplicate-handling behavior is too confusing for SetCreationTester .withSetUp(parentBuilder.getSetUp()) .withTearDown(parentBuilder.getTearDown()) .createTestSuite()); /*
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Oct 30 16:15:19 GMT 2024 - 6.8K bytes - Click Count (0)