- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for previousIndex (0.08 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
} }; Stimulus<E, ListIterator<E>> previousIndex = new Stimulus<E, ListIterator<E>>("previousIndex") { @Override void executeAndCompare(ListIterator<E> reference, ListIterator<E> target) { assertEquals(reference.previousIndex(), target.previousIndex()); } }; Stimulus<E, ListIterator<E>> previous =
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 20.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
} }; Stimulus<E, ListIterator<E>> previousIndex = new Stimulus<E, ListIterator<E>>("previousIndex") { @Override void executeAndCompare(ListIterator<E> reference, ListIterator<E> target) { assertEquals(reference.previousIndex(), target.previousIndex()); } }; Stimulus<E, ListIterator<E>> previous =
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/src/com/google/common/collect/TransformedListIterator.java
return transform(backingIterator().previous()); } @Override public final int nextIndex() { return backingIterator().nextIndex(); } @Override public final int previousIndex() { return backingIterator().previousIndex(); } @Override public void set(@ParametricNullness T element) { throw new UnsupportedOperationException(); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Nov 21 21:43:01 UTC 2023 - 2.1K bytes - Viewed (0) -
guava/src/com/google/common/collect/TransformedListIterator.java
return transform(backingIterator().previous()); } @Override public final int nextIndex() { return backingIterator().nextIndex(); } @Override public final int previousIndex() { return backingIterator().previousIndex(); } @Override public void set(@ParametricNullness T element) { throw new UnsupportedOperationException(); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Nov 21 21:43:01 UTC 2023 - 2.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/UnmodifiableListIteratorTest.java
public String previous() { if (!hasPrevious()) { throw new NoSuchElementException(); } return array[--i]; } @Override public int previousIndex() { return i - 1; } }; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 2.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/LinkedListMultimap.java
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) { throw new UnsupportedOperationException(); } @Override
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/src/com/google/common/collect/Lists.java
throw new NoSuchElementException(); } canRemoveOrSet = true; return forwardIterator.next(); } @Override public int previousIndex() { return nextIndex() - 1; } @Override public void remove() { checkRemove(canRemoveOrSet); forwardIterator.remove();
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
} assertEquals(3, iterator.previousIndex()); assertEquals("4", iterator.previous()); assertEquals("3", iterator.previous()); assertEquals("2", iterator.previous()); assertTrue(iterator.hasPrevious()); assertEquals("1", iterator.previous()); assertFalse(iterator.hasPrevious()); assertEquals(-1, iterator.previousIndex()); try { iterator.previous();
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
} assertEquals(3, iterator.previousIndex()); assertEquals("4", iterator.previous()); assertEquals("3", iterator.previous()); assertEquals("2", iterator.previous()); assertTrue(iterator.hasPrevious()); assertEquals("1", iterator.previous()); assertFalse(iterator.hasPrevious()); assertEquals(-1, iterator.previousIndex()); try { iterator.previous();
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/IteratorsTest.java
ListIterator<String> iterator = Iterators.emptyListIterator(); assertFalse(iterator.hasNext()); assertFalse(iterator.hasPrevious()); assertEquals(0, iterator.nextIndex()); assertEquals(-1, iterator.previousIndex()); assertThrows(NoSuchElementException.class, () -> iterator.next()); assertThrows(NoSuchElementException.class, () -> iterator.previous());
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 54.1K bytes - Viewed (0)