| java.lang.Object net.sf.jga.algorithms.Filter net.sf.jga.util.FilterIterable
FilterIterable | public class FilterIterable extends Filter.FilterIterable (Code) | | Produces Iterators that only return elements that meet a given condition.
Copyright © 2005 David A. Hall
|
FilterIterable | public FilterIterable(Iterable<? extends T> iter, UnaryFunctor<T, Boolean> pred)(Code) | | Builds a FilterIterator that will return only qualifying elements of
the given iterable.
|
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)
|
|
|