I
- the "input" type; the type of the wrapped iterableO
- the "output" type; the type of elements in this iterablepublic static class TransformingIterable.ReadOnly<I,O> extends TransformingIterable<I,O>
Iterator.remove()
) throw
UnsupportedOperationException
.TransformingIterable.ReadOnly<I,O>
Constructor and Description |
---|
ReadOnly(Iterable<I> iterable,
Function<? super I,? extends O> function)
Constructs a new read-only transforming iterable.
|
Modifier and Type | Method and Description |
---|---|
Iterator<O> |
iterator() |
apply, function, internal
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator