- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 10 for nextIndex (0.1 sec)
-
guava/src/com/google/common/collect/ForwardingListIterator.java
delegate().add(element); } @Override public boolean hasPrevious() { return delegate().hasPrevious(); } @Override public int nextIndex() { return delegate().nextIndex(); } @CanIgnoreReturnValue @Override @ParametricNullness public E previous() { return delegate().previous(); } @Override public int previousIndex() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 29 19:42:21 UTC 2021 - 2.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractIndexedListIterator.java
protected AbstractIndexedListIterator(int size) { this(size, 0); } /** * Constructs an iterator across a sequence of the given size with the given initial position. * That is, the first call to {@link #nextIndex()} will return {@code position}, and the first * call to {@link #next()} will return the element at that index, if available. Calls to {@link * #previous()} can retrieve the preceding {@code position} elements. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jul 09 17:31:04 UTC 2021 - 3.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingListIterator.java
delegate().add(element); } @Override public boolean hasPrevious() { return delegate().hasPrevious(); } @Override public int nextIndex() { return delegate().nextIndex(); } @CanIgnoreReturnValue @Override @ParametricNullness public E previous() { return delegate().previous(); } @Override public int previousIndex() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 29 19:42:21 UTC 2021 - 2.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/TransformedListIterator.java
} @Override @ParametricNullness public final T previous() { 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) {
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
} @Override @ParametricNullness public final T previous() { 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) {
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/CartesianList.java
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) { return -1; } computedIndex += elemIndex * axesSizeProduct[axisIndex + 1]; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Nov 30 21:54:06 UTC 2023 - 4.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CartesianList.java
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) { return -1; } computedIndex += elemIndex * axesSizeProduct[axisIndex + 1]; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Nov 30 21:54:06 UTC 2023 - 4.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractIndexedListIterator.java
protected AbstractIndexedListIterator(int size) { this(size, 0); } /** * Constructs an iterator across a sequence of the given size with the given initial position. * That is, the first call to {@link #nextIndex()} will return {@code position}, and the first * call to {@link #next()} will return the element at that index, if available. Calls to {@link * #previous()} can retrieve the preceding {@code position} elements. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jul 09 17:31:04 UTC 2021 - 3.2K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractMapBasedMultiset.java
public T next() { if (!hasNext()) { throw new NoSuchElementException(); } T result = result(entryIndex); toRemove = entryIndex; entryIndex = backingMap.nextIndex(entryIndex); return result; } @Override public void remove() { checkForConcurrentModification(); CollectPreconditions.checkRemove(toRemove != -1);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Mar 06 16:06:58 UTC 2023 - 8.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/UnmodifiableListIteratorTest.java
} return array[i++]; } @Override public boolean hasPrevious() { return i > 0; } @Override public int nextIndex() { return i; } @Override public String previous() { if (!hasPrevious()) { throw new NoSuchElementException(); } return array[--i]; }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Oct 15 17:36:06 UTC 2024 - 2.8K bytes - Viewed (0)