- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 247 for entryLen (0.26 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.java
Set<Entry<K, V>> entrySet = getMap().entrySet(); Iterator<Entry<K, V>> entryItr = entrySet.iterator(); assertEquals(e0(), entryItr.next()); entryItr.remove(); assertTrue(getMap().isEmpty()); assertFalse(entrySet.contains(e0())); } public void testContainsEntryWithIncomparableKey() { try {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 6.3K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/testers/MapEntrySetTester.java
Set<Entry<K, V>> entrySet = getMap().entrySet(); Iterator<Entry<K, V>> entryItr = entrySet.iterator(); assertEquals(e0(), entryItr.next()); entryItr.remove(); assertTrue(getMap().isEmpty()); assertFalse(entrySet.contains(e0())); } public void testContainsEntryWithIncomparableKey() { try {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Feb 21 16:49:06 UTC 2024 - 6.3K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/DescendingMultiset.java
abstract Iterator<Entry<E>> entryIterator(); @Nullable private transient Set<Entry<E>> entrySet; @Override public Set<Entry<E>> entrySet() { Set<Entry<E>> result = entrySet; return (result == null) ? entrySet = createEntrySet() : result; } Set<Entry<E>> createEntrySet() { return new Multisets.EntrySet<E>() { @Override Multiset<E> multiset() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed Jan 24 16:03:45 UTC 2024 - 4.2K bytes - Viewed (0) -
platforms/core-configuration/input-tracking/src/test/groovy/org/gradle/internal/configuration/inputs/AbstractAccessTrackingMapTest.groovy
"equals()" | call(m -> Objects.equals(m, Collections.emptyMap())) // Ensure that a real equals is invoked and not a Groovy helper "entrySet().size()" | call(m -> m.entrySet().size()) "entrySet().iterator()" | call(m -> m.entrySet().iterator()) "keySet().size()" | call(m -> m.keySet().size()) "keySet().iterator()" | call(m -> m.keySet().iterator()) }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Nov 11 00:37:04 UTC 2023 - 8.8K bytes - Viewed (0) -
subprojects/core-api/src/test/groovy/org/gradle/api/internal/provider/views/MapPropertyMapViewTest.groovy
when: def entrySet = map.entrySet() def removedForth = entrySet.remove(new AbstractMap.SimpleEntry<>("forth", "value4")) def removedFifthEmptyValue = entrySet.remove(new AbstractMap.SimpleEntry<>("fifth", "")) def removedFifthNullValue = entrySet.remove(new AbstractMap.SimpleEntry<>("fifth", null)) def removedNull = entrySet.remove(new AbstractMap.SimpleEntry<>(null, null))
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Apr 02 15:31:28 UTC 2024 - 5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/HashBiMapTest.java
assertThat(map.entrySet()) .containsExactly(Maps.immutableEntry("foo", 1), Maps.immutableEntry("bar", 2)) .inOrder(); } public void testInsertionOrderAfterForcePut() { BiMap<String, Integer> map = HashBiMap.create(); map.put("foo", 1); map.put("bar", 2); map.put("quux", 3); map.forcePut("quux", 1); assertThat(map.entrySet())
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Feb 19 20:34:55 UTC 2024 - 8.4K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/MutableTypeToInstanceMapTest.java
public void testEntrySetMutationThrows() { map.putInstance(String.class, "test"); assertEquals(TypeToken.of(String.class), map.entrySet().iterator().next().getKey()); assertEquals("test", map.entrySet().iterator().next().getValue()); assertThrows( UnsupportedOperationException.class, () -> map.entrySet().iterator().next().setValue(1)); } public void testEntrySetToArrayMutationThrows() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Feb 22 17:15:24 UTC 2024 - 7.9K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingSortedMultiset.java
/** * A sensible definition of {@link #firstEntry()} in terms of {@code entrySet().iterator()}. * * <p>If you override {@link #entrySet()}, you may wish to override {@link #firstEntry()} to * forward to this implementation. */ @CheckForNull protected Entry<E> standardFirstEntry() { Iterator<Entry<E>> entryIterator = entrySet().iterator(); if (!entryIterator.hasNext()) { return null; }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Jan 23 18:43:40 UTC 2024 - 8.2K bytes - Viewed (0) -
platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/changes/TrivialChangeDetector.java
return reportAllAdded(visitor, current, propertyTitle); case 1: Map.Entry<String, S> previousEntry = previous.entrySet().iterator().next(); Map.Entry<String, S> currentEntry = current.entrySet().iterator().next(); return compareTrivialEntries(visitor, previousEntry, currentEntry, propertyTitle); default:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:46:15 UTC 2023 - 4.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java
for (int i = 0; i < entries.size(); i++) { assertEqualInOrder( entries.subList(0, i), navigableMap.headMap(entries.get(i).getKey()).entrySet()); } } public void testTailMap() { List<Entry<K, V>> entries = Helpers.copyToList( getSubjectGenerator()
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 20 17:00:05 UTC 2024 - 6.1K bytes - Viewed (0)