@NotThreadSafe @DefaultAnnotation(value=edu.umd.cs.findbugs.annotations.NonNull.class) public abstract class FilteringIterator<T> extends Object implements Iterator<T>
| Modifier and Type | Field and Description |
|---|---|
private Boolean |
hasNext |
private Iterator<T> |
iterator |
private T |
next |
| Modifier | Constructor and Description |
|---|---|
protected |
FilteringIterator(Iterable<T> iterable)
Constructs a new filtering iterator which filters the given iterable.
|
protected |
FilteringIterator(Iterator<T> iterator)
Constructs a new filtering iterator which filters the given iterator.
|
@CheckForNull private Boolean hasNext
protected FilteringIterator(Iterable<T> iterable)
iterable - the iterable to filter.Copyright © 2004-2011 Schlichtherle IT Services. All Rights Reserved.