- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for nextIndex (0.07 sec)
-
guava/src/com/google/common/collect/LinkedListMultimap.java
} next = current = previous; previous = previous.previous; nextIndex--; return current; } @Override public int nextIndex() { return nextIndex; } @Override public int previousIndex() { return nextIndex - 1; } @Override public void set(Entry<K, V> e) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 13 14:11:58 UTC 2023 - 27.5K bytes - Viewed (0) -
guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Apr 19 19:24:36 UTC 2023 - 22.5K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
} }; Stimulus<E, ListIterator<E>> nextIndex = new Stimulus<E, ListIterator<E>>("nextIndex") { @Override void executeAndCompare(ListIterator<E> reference, ListIterator<E> target) { assertEquals(reference.nextIndex(), target.nextIndex()); } }; Stimulus<E, ListIterator<E>> previousIndex =
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 21.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
} }; Stimulus<E, ListIterator<E>> nextIndex = new Stimulus<E, ListIterator<E>>("nextIndex") { @Override void executeAndCompare(ListIterator<E> reference, ListIterator<E> target) { assertEquals(reference.nextIndex(), target.nextIndex()); } }; Stimulus<E, ListIterator<E>> previousIndex =
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 20.6K bytes - Viewed (0) -
android/guava/src/com/google/common/escape/UnicodeEscaper.java
destIndex += escaped.length; } // If we dealt with an escaped character, reset the unescaped range. unescapedChunkStart = nextIndex; } index = nextEscapeIndex(s, nextIndex, end); } // Process trailing unescaped characters - no need to account for escaped // length or padding the allocation. int charsSkipped = end - unescapedChunkStart;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jan 18 20:55:09 UTC 2022 - 13.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ObjectCountHashMap.java
init(DEFAULT_SIZE, DEFAULT_LOAD_FACTOR); } ObjectCountHashMap(ObjectCountHashMap<? extends K> map) { init(map.size(), DEFAULT_LOAD_FACTOR); for (int i = map.firstIndex(); i != -1; i = map.nextIndex(i)) { put(map.getKey(i), map.getValue(i)); } } /** * Constructs a new instance of {@code ObjectCountHashMap} with the specified capacity. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 01 22:07:10 UTC 2021 - 15K bytes - Viewed (0) -
guava/src/com/google/common/collect/Lists.java
} canRemoveOrSet = true; return forwardIterator.previous(); } @Override public int nextIndex() { return reversePosition(forwardIterator.nextIndex()); } @Override @ParametricNullness public T previous() { if (!hasPrevious()) { throw new NoSuchElementException();
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 43.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ListsTest.java
ListIterator<String> iterator = list.listIterator(1); assertEquals(1, iterator.nextIndex()); assertEquals("2", iterator.next()); assertEquals("3", iterator.next()); assertEquals("4", iterator.next()); assertEquals(4, iterator.nextIndex()); try { iterator.next(); fail("did not detect end of list"); } catch (NoSuchElementException expected) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 35K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ListsTest.java
ListIterator<String> iterator = list.listIterator(1); assertEquals(1, iterator.nextIndex()); assertEquals("2", iterator.next()); assertEquals("3", iterator.next()); assertEquals("4", iterator.next()); assertEquals(4, iterator.nextIndex()); try { iterator.next(); fail("did not detect end of list"); } catch (NoSuchElementException expected) {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 35K bytes - Viewed (0)