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(). |
java.lang.Iterable<T> |
unwrap()
Unwraps this instance and returns the underlying
Iterable. |
default void forEach(IOConsumer<? super T> action) throws java.io.IOException
Iterable.iterator().action - The action to be performed for each element.java.lang.NullPointerException - if the specified action is null.java.io.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()java.lang.Iterable<T> unwrap()
Iterable.
Implementations may not have anything to unwrap and that behavior is undefined for now.
Copyright © 2010 - 2025 Adobe. All Rights Reserved