- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 47 for ListIterator (2.95 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
} Stimulus<E, ListIterator<E>> hasPrevious = new Stimulus<E, ListIterator<E>>("hasPrevious") { @Override void executeAndCompare(ListIterator<E> reference, ListIterator<E> target) { assertEquals(reference.hasPrevious(), target.hasPrevious()); } }; Stimulus<E, ListIterator<E>> nextIndex = new Stimulus<E, ListIterator<E>>("nextIndex") { @Override
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 20.8K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java
} Stimulus<E, ListIterator<E>> hasPrevious = new Stimulus<E, ListIterator<E>>("hasPrevious") { @Override void executeAndCompare(ListIterator<E> reference, ListIterator<E> target) { assertEquals(reference.hasPrevious(), target.hasPrevious()); } }; Stimulus<E, ListIterator<E>> nextIndex = new Stimulus<E, ListIterator<E>>("nextIndex") { @Override
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed May 14 19:40:47 UTC 2025 - 21.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/Lists.java
} @Override public Iterator<T> iterator() { return listIterator(); } @Override public ListIterator<T> listIterator(int index) { int start = reversePosition(index); ListIterator<T> forwardIterator = forwardList.listIterator(start); return new ListIterator<T>() { boolean canRemoveOrSet; @OverrideRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 42.6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListListIteratorTester.java
assertThrows(IndexOutOfBoundsException.class, () -> getList().listIterator(-1)); } public void testListIterator_tooHigh() { assertThrows( IndexOutOfBoundsException.class, () -> getList().listIterator(getNumElements() + 1)); } public void testListIterator_atSize() { assertNotNull(getList().listIterator(getNumElements())); // TODO: run the iterator through ListIteratorTester }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/ForwardingListTest.java
return standardLastIndexOf(element); } @Override public Iterator<T> iterator() { return listIterator(); } @Override public ListIterator<T> listIterator() { return listIterator(0); } @Override public ListIterator<T> listIterator(int index) { return standardListIterator(index); } @Override
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ForwardingListIteratorTest.java
.testForwarding( ListIterator.class, new Function<ListIterator, ListIterator<?>>() { @Override public ListIterator<?> apply(ListIterator delegate) { return wrap((ListIterator<?>) delegate); } }); } private static <T> ListIterator<T> wrap(ListIterator<T> delegate) { return new ForwardingListIterator<T>() {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 1.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/CartesianList.java
public int indexOf(@Nullable Object o) { if (!(o instanceof List)) { return -1; } List<?> list = (List<?>) o; if (list.size() != axes.size()) { return -1; } ListIterator<?> itr = list.listIterator(); int computedIndex = 0; while (itr.hasNext()) { int axisIndex = itr.nextIndex(); int elemIndex = axes.get(axisIndex).indexOf(itr.next()); if (elemIndex == -1) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sun Aug 31 13:15:26 UTC 2025 - 4.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/UnmodifiableListIteratorTest.java
package com.google.common.collect; import static com.google.common.collect.ReflectionFreeAssertThrows.assertThrows; import com.google.common.annotations.GwtCompatible; import java.util.Iterator; import java.util.ListIterator; import java.util.NoSuchElementException; import junit.framework.TestCase; import org.jspecify.annotations.NullMarked; /** * Tests for UnmodifiableListIterator. * * @author Louis Wasserman */
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 2.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/DictionaryFile.java
return parent.lastIndexOf(o); } @Override public ListIterator<E> listIterator() { return parent.listIterator(); } @Override public ListIterator<E> listIterator(final int index) { return parent.listIterator(index); } @Override public List<E> subList(final int fromIndex, final int toIndex) {
Registered: Sat Dec 20 09:19:18 UTC 2025 - Last Modified: Thu Nov 20 07:09:00 UTC 2025 - 11.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/LinkedListMultimap.java
removeAllNodes(current.getKey()); current = null; expectedModCount = modCount; } } /** A {@code ListIterator} over values for a specified key. */ private final class ValueForKeyIterator implements ListIterator<V> { @ParametricNullness final K key; int nextIndex; @Nullable Node<K, V> next; @Nullable Node<K, V> current; @Nullable Node<K, V> previous;
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 18:35:44 UTC 2025 - 27K bytes - Viewed (0)