| net.sf.jga.fn.algorithm.RemoveAll
RemoveAll | public class RemoveAll extends UnaryFunctor,FilterIterator> (Code) | | Removes instances from an iteration. This functor returns an interator that
skips specific values or values that meet a given condition. The underlying
iterable is not modified.
Copyright © 2003-2005 David A. Hall
|
Constructor Summary | |
public | RemoveAll(T value) Builds an RemoveAll functor that will remove instances of the given value
from an iteration. | public | RemoveAll(Equality<T> eq, T value) Builds an RemoveAll functor that will remove instances of the given value
from an iteration, using the given Equality. | public | RemoveAll(UnaryFunctor<T, Boolean> test) |
serialVersionUID | final static long serialVersionUID(Code) | | |
RemoveAll | public RemoveAll(T value)(Code) | | Builds an RemoveAll functor that will remove instances of the given value
from an iteration.
throws: IllegalArgumentException - if the test is null |
RemoveAll | public RemoveAll(Equality<T> eq, T value)(Code) | | Builds an RemoveAll functor that will remove instances of the given value
from an iteration, using the given Equality.
throws: IllegalArgumentException - if the test is null |
accept | public void accept(net.sf.jga.fn.Visitor v)(Code) | | Calls the Visitor's visit(RemoveAll) method, if it
implements the nested Visitor interface.
|
fn | public FilterIterator<T> fn(Iterator<? extends T> iterator)(Code) | | Apply the functor to each element in the iteration and return an iterator
over the results
an iterator over the results of the transformation |
|
|