- Sort Score
- Result 10 results
- Languages All
Results 41 - 45 of 45 for firstEntry (0.04 sec)
-
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) {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Aug 08 15:11:10 UTC 2025 - 56.9K bytes - Viewed (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 typeRegistered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 49.9K bytes - Viewed (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();Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 22:56:33 UTC 2025 - 62.7K bytes - Viewed (0) -
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();Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 22:56:33 UTC 2025 - 65K bytes - Viewed (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); }Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 21 11:13:46 UTC 2025 - 7.7K bytes - Viewed (0)