Package com.floragunn.fluent.collections
Interface UnmodifiableIterator<E>
-
- All Superinterfaces:
Iterator<E>
- All Known Subinterfaces:
IteratorView<E>
public interface UnmodifiableIterator<E> extends Iterator<E>
-
-
Field Summary
Fields Modifier and Type Field Description static UnmodifiableIterator<?>EMPTY
-
Method Summary
All Methods Static Methods Instance Methods Default Methods Deprecated Methods Modifier and Type Method Description static <E> UnmodifiableIterator<E>empty()static <E> UnmodifiableIterator<E>of(E element)static <E> UnmodifiableIterator<E>of(E... elements)static <E> UnmodifiableIterator<E>of(Iterator<E> iterator)default voidremove()Deprecated.-
Methods inherited from interface java.util.Iterator
forEachRemaining, hasNext, next
-
-
-
-
Field Detail
-
EMPTY
static final UnmodifiableIterator<?> EMPTY
-
-
Method Detail
-
of
static <E> UnmodifiableIterator<E> of(Iterator<E> iterator)
-
of
static <E> UnmodifiableIterator<E> of(E element)
-
of
@SafeVarargs static <E> UnmodifiableIterator<E> of(E... elements)
-
empty
static <E> UnmodifiableIterator<E> empty()
-
remove
@Deprecated default void remove()
Deprecated.
-
-