java.lang.Object | |
↳ | org.apache.commons.collections.iterators.FilterListIterator |
Decorates another ListIterator using a predicate to filter elements.
This iterator decorates the underlying iterator, only allowing through
those elements that match the specified Predicate
.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a new
FilterListIterator that will not function
until setListIterator
and setPredicate are invoked. | |||||||||||
Constructs a new
FilterListIterator that will not
function until setPredicate is invoked. | |||||||||||
Constructs a new
FilterListIterator . | |||||||||||
Constructs a new
FilterListIterator that will not function
until setListIterator is invoked. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Not supported.
| |||||||||||
Gets the iterator this iterator is using.
| |||||||||||
Gets the predicate this iterator is using.
| |||||||||||
Not supported.
| |||||||||||
Not supported.
| |||||||||||
Sets the iterator for this iterator to use.
| |||||||||||
Sets the predicate this the iterator to use.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
java.util.Iterator
| |||||||||||
From interface
java.util.ListIterator
|
Constructs a new FilterListIterator
that will not function
until setListIterator
and setPredicate
are invoked.
Constructs a new FilterListIterator
that will not
function until setPredicate
is invoked.
iterator | the iterator to use |
---|
Constructs a new FilterListIterator
.
iterator | the iterator to use |
---|---|
predicate | the predicate to use |
Constructs a new FilterListIterator
that will not function
until setListIterator
is invoked.
predicate | the predicate to use. |
---|
Gets the iterator this iterator is using.
Not supported.
Sets the iterator for this iterator to use. If iteration has started, this effectively resets the iterator.
iterator | the iterator to use |
---|
Sets the predicate this the iterator to use.
predicate | the transformer to use |
---|