T - the type of elements returned by the iterable.public interface IOIterable<T>
Iterable but throws IOException.| Modifier and Type | Method and Description |
|---|---|
default void |
forEach(IOConsumer<? super T> action)
Like
Iterable.iterator(). |
IOIterator<T> |
iterator()
Like
Iterable.iterator(). |
default IOSpliterator<T> |
spliterator()
Like
Iterable.spliterator(). |
Iterable<T> |
unwrap()
Unwraps this instance and returns the underlying
Iterable. |
default void forEach(IOConsumer<? super T> action) throws IOException
Iterable.iterator().action - The action to be performed for each element.NullPointerException - if the specified action is null.IOException - thrown by the given action.Iterable.iterator()IOIterator<T> iterator()
Iterable.iterator().delegate.Iterable.iterator()default IOSpliterator<T> spliterator()
Iterable.spliterator().delegate.Iterable.spliterator()