java.util.Iterator<T>
public final class TakeWhileIterator<T>
extends java.lang.Object
implements java.util.Iterator<T>
Constructor | Description |
---|---|
TakeWhileIterator(java.lang.Iterable<T> iterable,
Predicate<? super T> predicate) |
|
TakeWhileIterator(java.util.Iterator<T> iterator,
Predicate<? super T> predicate) |
Modifier and Type | Method | Description |
---|---|---|
boolean |
hasNext() |
|
T |
next() |
|
void |
remove() |
Copyright © 2004–2017. All rights reserved.