public class CastingIterator<I,O> extends IterableIterator<O>
Constructor and Description |
---|
CastingIterator(Iterator<? extends I> iterator) |
CastingIterator(Iterator<? extends I> iterator,
Class<? extends O> o,
boolean safe) |
Modifier and Type | Method and Description |
---|---|
Class<? extends O> |
getO() |
boolean |
hasNext() |
boolean |
isSafe() |
O |
next() |
void |
remove() |
iterator
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEachRemaining
forEach, spliterator
Copyright © 2017. All rights reserved.