Class EnumeratingIterable.EmptyIterable<T>
- java.lang.Object
-
- com.apple.foundationdb.record.query.plan.temp.EnumeratingIterable.EmptyIterable<T>
-
- Type Parameters:
T
- type
- All Implemented Interfaces:
EnumeratingIterable<T>
,Iterable<List<T>>
- Enclosing interface:
- EnumeratingIterable<T>
public static class EnumeratingIterable.EmptyIterable<T> extends Object implements EnumeratingIterable<T>
An implementation ofEnumeratingIterable
that is optimized to work for empty input sets. Iterators created by this class, avoid building complex state objects during their lifecycle.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.apple.foundationdb.record.query.plan.temp.EnumeratingIterable
EnumeratingIterable.EmptyIterable<T>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EnumeratingIterator<T>
iterator()
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
iterator
@Nonnull public EnumeratingIterator<T> iterator()
-
-