| java.lang.Object net.sf.jga.algorithms.Filter net.sf.jga.util.FilterIterator
FilterIterator | public class FilterIterator extends Filter.FilterIterator implements Iterable<T>(Code) | | Iterator that only returns elements that meet the given selection criteria.
Note -- in addition to this class being deprecated in order to be moved,
its implementation of Iterable is also deprecated: the successor class
will not implement Iterable.
Copyright © 2002-2005 David A. Hall
author: David A. Hall |
FilterIterator | public FilterIterator(Iterator<? extends T> iter, UnaryFunctor<T, Boolean> pred)(Code) | | Builds a FilterIterator that will return only qualifying elements of
the given iterator.
|
Methods inherited from net.sf.jga.algorithms.Filter | public static Iterable<T> filter(T[] ts, UnaryFunctor<T, Boolean> pred)(Code)(Java Doc) public static Iterable<T> filter(Iterable<? extends T> i, UnaryFunctor<T, Boolean> pred)(Code)(Java Doc) public static Iterator<T> filter(Iterator<? extends T> iter, UnaryFunctor<T, Boolean> pred)(Code)(Java Doc) public static TCollection filter(Iterable<? extends T> cin, UnaryFunctor<T, Boolean> pred, TCollection cout)(Code)(Java Doc) public static Iterable<T> remove(T[] ts, T value)(Code)(Java Doc) public static Iterable<T> remove(T[] ts, T value, Equality<T> eq)(Code)(Java Doc) public static Iterable<T> remove(T[] ts, UnaryFunctor<T, Boolean> pred)(Code)(Java Doc) public static Iterable<T> remove(Iterable<? extends T> i, T value)(Code)(Java Doc) public static Iterable<T> remove(Iterable<? extends T> i, T value, Equality<T> eq)(Code)(Java Doc) public static Iterable<T> remove(Iterable<? extends T> i, UnaryFunctor<T, Boolean> pred)(Code)(Java Doc) public static Iterator<T> remove(Iterator<? extends T> iter, T value)(Code)(Java Doc) public static Iterator<T> remove(Iterator<? extends T> iter, T value, Equality<T> eq)(Code)(Java Doc) public static Iterator<T> remove(Iterator<? extends T> iter, UnaryFunctor<T, Boolean> pred)(Code)(Java Doc) public static TCollection remove(Iterable<? extends T> cin, T value, TCollection cout)(Code)(Java Doc) public static TCollection remove(Iterable<? extends T> cin, T value, Equality<T> eq, TCollection cout)(Code)(Java Doc) public static TCollection remove(Iterable<? extends T> cin, UnaryFunctor<T, Boolean> pred, TCollection cout)(Code)(Java Doc)
|
|
|