E - the iterator element Typepublic class TakeWhileIterator<E> extends ReadOnlyIterator<E>
| Constructor and Description |
|---|
TakeWhileIterator(Iterator<E> iterator,
Predicate<E> filter) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasNext() |
E |
next() |
removeCopyright © 2013. All rights reserved.