- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for forEntry (0.05 sec)
-
android/guava/src/com/google/common/collect/HashBiMap.java
} final class KeySet extends View<K, V, K> { KeySet() { super(HashBiMap.this); } @Override @ParametricNullness K forEntry(int entry) { // The cast is safe because we call forEntry only for indexes that contain entries. return uncheckedCastNullableTToT(keys[entry]); } @Override public boolean contains(@Nullable Object o) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 36.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/LinkedListMultimapTest.java
UnsupportedOperationException.class, () -> barEntry.setValue(Arrays.<Integer>asList())); entries.remove(); // clear Entry<String, Collection<Integer>> fooEntry = entries.next(); assertEquals("foo", fooEntry.getKey()); assertThat(fooEntry.getValue()).contains(2); assertFalse(entries.hasNext()); assertEquals("{foo=[2]}", map.toString()); } public void testEntriesAfterMultimapUpdate() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 18K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbOperationException.java
* * @param original the original exception * @param attemptNumber the current attempt number * @return new exception with updated attempt information */ public static SmbOperationException forRetry(SmbOperationException original, int attemptNumber) { SmbOperationException retry = new SmbOperationException(original.errorCode, original.originalMessage, original.getCause(),
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbOperationExceptionTest.java
original.withContext("attempt", 1); // When SmbOperationException retry = SmbOperationException.forRetry(original, 2); // Then assertEquals(original.getErrorCode(), retry.getErrorCode()); assertEquals(original.getMessage(), retry.getMessage());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 16.1K bytes - Viewed (0)