- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 14 for firstEntry (0.07 seconds)
-
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java
assertEquals(c, sortedMultiset.tailMultiset(b.getElement(), CLOSED).firstEntry()); assertEquals(c, sortedMultiset.tailMultiset(c.getElement(), CLOSED).firstEntry()); } @CollectionSize.Require(SEVERAL) public void testHigher() { resetWithHole(); assertEquals(c, sortedMultiset.tailMultiset(a.getElement(), OPEN).firstEntry());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 20:14:36 GMT 2024 - 26K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/google/MultisetNavigationTester.java
assertEquals(c, sortedMultiset.tailMultiset(b.getElement(), CLOSED).firstEntry()); assertEquals(c, sortedMultiset.tailMultiset(c.getElement(), CLOSED).firstEntry()); } @CollectionSize.Require(SEVERAL) public void testHigher() { resetWithHole(); assertEquals(c, sortedMultiset.tailMultiset(a.getElement(), OPEN).firstEntry());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 19 20:14:36 GMT 2024 - 26K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ForwardingNavigableMap.java
return keyOrNull(higherEntry(key)); } @Override public @Nullable Entry<K, V> firstEntry() { return delegate().firstEntry(); } /** * A sensible definition of {@link #firstEntry} in terms of the {@code iterator()} of {@link * #entrySet}. If you override {@code entrySet}, you may wish to override {@code firstEntry} to * forward to this implementation. */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 14.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/ForwardingNavigableMap.java
return keyOrNull(higherEntry(key)); } @Override public @Nullable Entry<K, V> firstEntry() { return delegate().firstEntry(); } /** * A sensible definition of {@link #firstEntry} in terms of the {@code iterator()} of {@link * #entrySet}. If you override {@code entrySet}, you may wish to override {@code firstEntry} to * forward to this implementation. */
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Dec 22 03:38:46 GMT 2024 - 14.3K bytes - Click Count (0) -
guava/src/com/google/common/collect/LinkedHashMultimap.java
Arrays.fill(hashTable, null); size = 0; for (ValueEntry<K, V> entry = firstEntry; entry != null; entry = entry.successorInValueSet) { multimapIterationChain.delete(entry); // TODO(cpovirk): Also clear *InValueSet (after reading next) and nextInValueBucket? } firstEntry = null; lastEntry = null; modCount++; } } @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 20K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/LinkedHashMultimap.java
Arrays.fill(hashTable, null); size = 0; for (ValueEntry<K, V> entry = firstEntry; entry != null; entry = entry.successorInValueSet) { multimapIterationChain.delete(entry); // TODO(cpovirk): Also clear *InValueSet (after reading next) and nextInValueBucket? } firstEntry = null; lastEntry = null; modCount++; } } @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 19.2K bytes - Click Count (0) -
guava/src/com/google/common/collect/CompactLinkedHashMap.java
*/ @VisibleForTesting transient long @Nullable [] links; /** Pointer to the first node in the linked list, or {@code ENDPOINT} if there are no entries. */ private transient int firstEntry; /** Pointer to the last node in the linked list, or {@code ENDPOINT} if there are no entries. */ private transient int lastEntry; private final boolean accessOrder; CompactLinkedHashMap() {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 10.2K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/SynchronizedNavigableMapTest.java
assertTrue(Thread.holdsLock(mutex)); return delegate().descendingMap(); } @Override public @Nullable Entry<K, V> firstEntry() { assertTrue(Thread.holdsLock(mutex)); return delegate().firstEntry(); } @Override public @Nullable Entry<K, V> floorEntry(K key) { assertTrue(Thread.holdsLock(mutex)); return delegate().floorEntry(key);
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 12.8K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/TreeRangeSet.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Sep 23 17:50:58 GMT 2025 - 32.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MapsTransformValuesUnmodifiableIteratorTest.java
valueIterator.next(); valueIterator.remove(); assertFalse(underlying.containsKey("e")); Set<Entry<String, String>> entries = map.entrySet(); Entry<String, String> firstEntry = entries.iterator().next(); entries.remove(firstEntry); assertFalse(underlying.containsKey("f")); Iterator<Entry<String, String>> entryIterator = entries.iterator(); entryIterator.next(); entryIterator.remove();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 12.4K bytes - Click Count (0)