Class SingleValueIterator<T>
java.lang.Object
org.javimmutable.collections.iterators.AbstractSplitableIterator<T>
org.javimmutable.collections.iterators.SingleValueIterator<T>
- All Implemented Interfaces:
Iterator<T>,SplitableIterator<T>
-
Method Summary
Modifier and TypeMethodDescriptionbooleanhasNext()static <T> SplitableIterable<T> iterable(T value) next()static <T> SingleValueIterator<T> of(T value) Methods inherited from class org.javimmutable.collections.iterators.AbstractSplitableIterator
spliteratorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining, removeMethods inherited from interface org.javimmutable.collections.SplitableIterator
isSplitAllowed, splitIterator
-
Method Details
-
of
-
iterable
-
hasNext
public boolean hasNext() -
next
-