- Sort Score
- Result 10 results
- Languages All
Results 1 - 6 of 6 for AbstractSequentialIterator (0.27 sec)
-
android/guava/src/com/google/common/collect/AbstractSequentialIterator.java
*/ @GwtCompatible @ElementTypesAreNonnullByDefault public abstract class AbstractSequentialIterator<T> extends UnmodifiableIterator<T> { @CheckForNull private T nextOrNull; /** * Creates a new iterator with the given first element, or, if {@code firstOrNull} is null, * creates a new empty iterator. */ protected AbstractSequentialIterator(@CheckForNull T firstOrNull) { this.nextOrNull = firstOrNull; } /**
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri Jul 09 17:31:04 GMT 2021 - 2.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractSequentialIterator.java
*/ @GwtCompatible @ElementTypesAreNonnullByDefault public abstract class AbstractSequentialIterator<T> extends UnmodifiableIterator<T> { @CheckForNull private T nextOrNull; /** * Creates a new iterator with the given first element, or, if {@code firstOrNull} is null, * creates a new empty iterator. */ protected AbstractSequentialIterator(@CheckForNull T firstOrNull) { this.nextOrNull = firstOrNull; } /**
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Fri Jul 09 17:31:04 GMT 2021 - 2.4K 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> { public EmptyAbstractSequentialIterator() {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Feb 26 17:19:08 GMT 2024 - 4.7K bytes - Viewed (0) -
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> { public EmptyAbstractSequentialIterator() {
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Feb 26 17:19:08 GMT 2024 - 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 @CheckForNull protected C computeNext(C previous) { return equalsOrThrow(previous, last) ? null : domain.next(previous);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 8.4K 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> *
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Jul 06 16:29:45 GMT 2023 - 5K bytes - Viewed (0)