- Sort Score
- Num 10 results
- Language All
Results 51 - 59 of 59 for firstEntry (0.07 seconds)
-
android/guava/src/com/google/common/collect/Synchronized.java
} return descendingMap; } } @Override public Map.@Nullable Entry<K, V> firstEntry() { synchronized (mutex) { return nullableSynchronizedEntry(delegate().firstEntry(), mutex); } } @Override public Map.@Nullable Entry<K, V> floorEntry(K key) { synchronized (mutex) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Aug 08 15:11:10 GMT 2025 - 53K bytes - Click Count (0) -
guava/src/com/google/common/collect/Synchronized.java
} return descendingMap; } } @Override public Map.@Nullable Entry<K, V> firstEntry() { synchronized (mutex) { return nullableSynchronizedEntry(delegate().firstEntry(), mutex); } } @Override public Map.@Nullable Entry<K, V> floorEntry(K key) { synchronized (mutex) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Aug 08 15:11:10 GMT 2025 - 56.9K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Maps.java
public NavigableMap<K, V2> descendingMap() { return transformEntries(fromMap().descendingMap(), transformer); } @Override public @Nullable Entry<K, V2> firstEntry() { return transformEntry(fromMap().firstEntry()); } @Override public @Nullable Entry<K, V2> floorEntry(@ParametricNullness K key) { return transformEntry(fromMap().floorEntry(key)); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 157.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/Maps.java
public NavigableMap<K, V2> descendingMap() { return transformEntries(fromMap().descendingMap(), transformer); } @Override public @Nullable Entry<K, V2> firstEntry() { return transformEntry(fromMap().firstEntry()); } @Override public @Nullable Entry<K, V2> floorEntry(@ParametricNullness K key) { return transformEntry(fromMap().floorEntry(key)); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 163.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/NavigableMapNavigationTester.java
super.resetMap(entries); navigableMap = (NavigableMap<K, V>) getMap(); } @CollectionSize.Require(ZERO) public void testEmptyMapFirst() { assertNull(navigableMap.firstEntry()); } @MapFeature.Require(SUPPORTS_REMOVE) @CollectionSize.Require(ZERO) public void testEmptyMapPollFirst() { assertNull(navigableMap.pollFirstEntry()); } @CollectionSize.Require(ZERO)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 9K bytes - Click Count (0) -
guava-testlib/src/com/google/common/collect/testing/testers/NavigableMapNavigationTester.java
super.resetMap(entries); navigableMap = (NavigableMap<K, V>) getMap(); } @CollectionSize.Require(ZERO) public void testEmptyMapFirst() { assertNull(navigableMap.firstEntry()); } @MapFeature.Require(SUPPORTS_REMOVE) @CollectionSize.Require(ZERO) public void testEmptyMapPollFirst() { assertNull(navigableMap.pollFirstEntry()); } @CollectionSize.Require(ZERO)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 20:54:16 GMT 2025 - 9K bytes - Click Count (0) -
src/main/java/org/codelibs/core/collection/CollectionsUtil.java
* @param map the sequenced map * @return the first entry, or null if the map is empty * @since Java 21 */ public static <K, V> Map.Entry<K, V> firstEntry(final SequencedMap<K, V> map) { return map.isEmpty() ? null : map.firstEntry(); } /** * Returns the last entry of a sequenced map. * * @param <K> the key type * @param <V> the value typeCreated: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 49.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MapsTest.java
{ Entry<Integer, String> entry = unmod.higherEntry(2); assertThrows(UnsupportedOperationException.class, () -> entry.setValue("four")); } { Entry<Integer, String> entry = unmod.firstEntry(); assertThrows(UnsupportedOperationException.class, () -> entry.setValue("four")); } { Entry<Integer, String> entry = unmod.lastEntry();Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 63.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelFailoverTest.java
long firstRetry = state.getNextRetryTime(); state.incrementRetry(); long secondRetry = state.getNextRetryTime(); state.incrementRetry(); long thirdRetry = state.getNextRetryTime(); // Should have exponential backoff assertTrue(secondRetry > firstRetry); assertTrue(thirdRetry > secondRetry); }Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 7.7K bytes - Click Count (0)