- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for AbstractSequentialIterator (0.09 sec)
-
guava/src/com/google/common/collect/AbstractSequentialIterator.java
* Iterator<Integer> powersOfTwo = * new AbstractSequentialIterator<Integer>(1) { * protected Integer computeNext(Integer previous) { * return (previous == 1 << 30) ? null : previous * 2; * } * }; * } * * @author Chris Povirk * @since 12.0 (in Guava as {@code AbstractLinkedIterator} since 8.0) */ @GwtCompatible public abstract class AbstractSequentialIterator<T> extends UnmodifiableIterator<T> {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 2.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AbstractSequentialIterator.java
* Iterator<Integer> powersOfTwo = * new AbstractSequentialIterator<Integer>(1) { * protected Integer computeNext(Integer previous) { * return (previous == 1 << 30) ? null : previous * 2; * } * }; * } * * @author Chris Povirk * @since 12.0 (in Guava as {@code AbstractLinkedIterator} since 8.0) */ @GwtCompatible public abstract class AbstractSequentialIterator<T> extends UnmodifiableIterator<T> {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 2.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/AbstractSequentialIteratorTest.java
return new AbstractSequentialIterator<Integer>(first) { @Override protected @Nullable Integer computeNext(Integer previous) { return (previous == last) ? null : previous * 2; } }; } private static class EmptyAbstractSequentialIterator<T> extends AbstractSequentialIterator<T> { EmptyAbstractSequentialIterator() { super(null);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 4.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularContiguousSet.java
C c = (C) requireNonNull(target); return (int) domain.distance(first(), c); } @Override public UnmodifiableIterator<C> iterator() { return new AbstractSequentialIterator<C>(first()) { final C last = last(); @Override protected @Nullable C computeNext(C previous) { return equalsOrThrow(previous, last) ? null : domain.next(previous); } };
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.3K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/package-info.java
* <li>{@link Sets} * <li>{@link Streams} * <li>{@link Tables} * </ul> * * <h2>Abstract implementations</h2> * * <ul> * <li>{@link AbstractIterator} * <li>{@link AbstractSequentialIterator} * <li>{@link UnmodifiableIterator} * <li>{@link UnmodifiableListIterator} * </ul> * * <h2>Forwarding collections</h2> *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 5K bytes - Viewed (0) -
guava/src/com/google/common/collect/package-info.java
* <li>{@link Sets} * <li>{@link Streams} * <li>{@link Tables} * </ul> * * <h2>Abstract implementations</h2> * * <ul> * <li>{@link AbstractIterator} * <li>{@link AbstractSequentialIterator} * <li>{@link UnmodifiableIterator} * <li>{@link UnmodifiableListIterator} * </ul> * * <h2>Forwarding collections</h2> *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 5K bytes - Viewed (0)