- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 582 for entryLen (0.2 sec)
-
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/src/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: Fri May 12 15:26:39 UTC 2023 - 8.7K bytes - Viewed (0) -
guava/src/com/google/common/collect/ImmutableMultiset.java
ImmutableSet<Entry<E>> es = entrySet; return (es == null) ? (entrySet = createEntrySet()) : es; } private ImmutableSet<Entry<E>> createEntrySet() { return isEmpty() ? ImmutableSet.<Entry<E>>of() : new EntrySet(); } abstract Entry<E> getEntry(int index); @WeakOuter private final class EntrySet extends IndexedImmutableSet<Entry<E>> { @Override boolean isPartialView() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Wed May 08 03:01:02 UTC 2024 - 20.6K bytes - Viewed (0) -
platforms/core-configuration/input-tracking/src/test/groovy/org/gradle/internal/configuration/inputs/AccessTrackingPropertiesNonStringTest.groovy
1 * listener.onAccess('keyWithNonStringValue', NON_STRING_VALUE) 0 * listener._ } def "entrySet() enumeration is tracked for non-strings"() { when: def result = ImmutableSet.copyOf(getMapUnderTestToRead().entrySet()) then: result == innerMap.entrySet() 1 * listener.onAccess(EXISTING_KEY, EXISTING_VALUE) 1 * listener.onAccess('existing', 'existingStringValue')
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Nov 11 00:37:04 UTC 2023 - 14.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/DescendingMultiset.java
@LazyInit @CheckForNull 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() { @WeakOuter class EntrySetImpl extends Multisets.EntrySet<E> { @Override Multiset<E> multiset() {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Mon Jun 26 21:02:13 UTC 2023 - 4.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingMultiset.java
* {@link #entrySet}, you may wish to override {@link #hashCode} to forward to this * implementation. * * @since 7.0 */ protected int standardHashCode() { return entrySet().hashCode(); } /** * A sensible definition of {@link #toString} as {@code entrySet().toString()} . If you override
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Fri May 12 15:26:39 UTC 2023 - 10.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractBiMap.java
return standardToString(); } } @LazyInit @CheckForNull private transient Set<Entry<K, V>> entrySet; @Override public Set<Entry<K, V>> entrySet() { Set<Entry<K, V>> result = entrySet; return (result == null) ? entrySet = new EntrySet() : result; } class BiMapEntry extends ForwardingMapEntry<K, V> { private final Entry<K, V> delegate;
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Aug 24 01:40:03 UTC 2023 - 13.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java
assertEquals(0, multiset.size()); assertEquals(0, multiset.toArray().length); assertTrue(multiset.entrySet().isEmpty()); assertFalse(multiset.iterator().hasNext()); assertEquals(0, multiset.entrySet().size()); assertEquals(0, multiset.entrySet().toArray().length); assertFalse(multiset.entrySet().iterator().hasNext()); } public void testEmptyRangeSubMultisetSupportingAdd(SortedMultiset<E> multiset) {
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Tue Feb 20 17:00:05 UTC 2024 - 25.9K 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)