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>

public class SingleValueIterator<T> extends AbstractSplitableIterator<T>
  • Method Details

    • of

      public static <T> SingleValueIterator<T> of(T value)
    • iterable

      public static <T> SplitableIterable<T> iterable(T value)
    • hasNext

      public boolean hasNext()
    • next

      public T next()