Package org.infinispan.commons.util
Class Immutables.ImmutableIteratorWrapper<E>
- java.lang.Object
-
- org.infinispan.commons.util.Immutables.ImmutableIteratorWrapper<E>
-
- All Implemented Interfaces:
Iterator<E>
- Enclosing class:
- Immutables
public static class Immutables.ImmutableIteratorWrapper<E> extends Object implements Iterator<E>
-
-
Constructor Summary
Constructors Constructor Description ImmutableIteratorWrapper(Iterator<? extends E> iterator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
forEachRemaining(Consumer<? super E> action)
boolean
hasNext()
E
next()
-