|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.commons.collections.iterators.ProxyListIterator | +--org.apache.commons.collections.iterators.FilterListIterator | +--org.apache.commons.collections.FilterListIterator
A proxy ListIterator
which
takes a Predicate
instance to filter
out objects from an underlying ListIterator
instance. Only objects for which the specified
Predicate
evaluates to true
are
returned by the iterator.
Constructor Summary | |
FilterListIterator()
Deprecated. Constructs a new FilterListIterator that will not
function until
setListIterator
and setPredicate are invoked. |
|
FilterListIterator(java.util.ListIterator iterator)
Deprecated. Constructs a new FilterListIterator that will not
function until setPredicate is invoked. |
|
FilterListIterator(java.util.ListIterator iterator,
Predicate predicate)
Deprecated. Constructs a new FilterListIterator . |
|
FilterListIterator(Predicate predicate)
Deprecated. Constructs a new FilterListIterator that will not
function until
setListIterator
is invoked. |
Methods inherited from class org.apache.commons.collections.iterators.FilterListIterator |
add, getPredicate, hasNext, hasPrevious, next, nextIndex, previous, previousIndex, remove, set, setPredicate |
Methods inherited from class org.apache.commons.collections.iterators.ProxyListIterator |
getListIterator, setListIterator |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FilterListIterator()
FilterListIterator
that will not
function until
setListIterator
and setPredicate
are invoked.
public FilterListIterator(java.util.ListIterator iterator)
FilterListIterator
that will not
function until setPredicate
is invoked.
iterator
- the iterator to usepublic FilterListIterator(java.util.ListIterator iterator, Predicate predicate)
FilterListIterator
.
iterator
- the iterator to usepredicate
- the predicate to usepublic FilterListIterator(Predicate predicate)
FilterListIterator
that will not
function until
setListIterator
is invoked.
predicate
- the predicate to use.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |