java.lang.Object | +--org.apache.commons.collections.iterators.FilterListIteratorAll Implemented Interfaces:
Constructs a new FilterListIterator that will not function until ProxyListIterator#setListIterator(ListIterator) setListIterator and #setPredicate(Predicate) setPredicate are invoked. |
FilterListIterator(ListIterator iterator) Constructs a new FilterListIterator that will not function until #setPredicate(Predicate) setPredicate is invoked. |
FilterListIterator(ListIterator iterator, Predicate predicate) Constructs a new FilterListIterator. |
FilterListIterator(Predicate predicate) Constructs a new FilterListIterator that will not function until ProxyListIterator#setListIterator(ListIterator) setListIterator is invoked. |
void | add(Object o) Not supported. |
ListIterator | Gets the iterator this iterator is using. |
Gets the predicate this iterator is using. | |
boolean | hasNext() |
boolean | |
Object | next() |
int | |
Object | previous() |
int | |
void | remove() Not supported. |
void | set(Object o) Not supported. |
void | setListIterator(ListIterator iterator) Sets the iterator for this iterator to use. |
void | setPredicate(Predicate predicate) Sets the predicate this the iterator to use. |
public FilterListIterator()
FilterListIterator
that will not
function until
ProxyListIterator.setListIterator(ListIterator)
and setPredicate(Predicate) setPredicate are invoked.
public FilterListIterator(ListIterator iterator, Predicate predicate)
FilterListIterator
.
public FilterListIterator(ListIterator iterator)
FilterListIterator
that will not
function until setPredicate(Predicate) setPredicate is invoked.
public FilterListIterator(Predicate predicate)
FilterListIterator
that will not
function until
ProxyListIterator.setListIterator(ListIterator)
is invoked.
public void add(Object o)
public ListIterator getListIterator()
public Predicate getPredicate()
public boolean hasNext()
public boolean hasPrevious()
public Object next()
public int nextIndex()
public Object previous()
public int previousIndex()
public void remove()
public void set(Object o)
public void setListIterator(ListIterator iterator)
public void setPredicate(Predicate predicate)
ListIterator
instance. Only objects for which the specifiedPredicate
evaluates totrue
are returned by the iterator.