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 TypeMethodDescriptionboolean
hasNext()
static <T> SplitableIterable
<T> iterable
(T value) next()
static <T> SingleValueIterator
<T> of
(T value) Methods inherited from class org.javimmutable.collections.iterators.AbstractSplitableIterator
spliterator
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
Methods inherited from interface org.javimmutable.collections.SplitableIterator
isSplitAllowed, splitIterator
-
Method Details
-
of
-
iterable
-
hasNext
public boolean hasNext() -
next
-