Frames | No Frames |
Constructors with parameter type org.apache.commons.collections.Predicate | |
Constructor that wraps (not copies). | |
Constructor that wraps (not copies). |
Methods with parameter type org.apache.commons.collections.Predicate | |
Set | Factory method to create a predicated (validating) set. |
SortedSet | Factory method to create a predicated (validating) sorted set. |
Constructors with parameter type org.apache.commons.collections.Predicate | |
Constructor that wraps (not copies). |
Methods with parameter type org.apache.commons.collections.Predicate | |
List | Factory method to create a predicated (validating) list. |
Constructors with parameter type org.apache.commons.collections.Predicate | |
Constructs a new FilterIterator that will use the
given iterator and predicate. | |
Constructs a new FilterListIterator . | |
Constructs a new FilterListIterator that will not
function until
setListIterator
is invoked. |
Methods with parameter type org.apache.commons.collections.Predicate | |
void | Sets the predicate this the iterator to use. |
void | Sets the predicate this the iterator to use. |
Methods with return type org.apache.commons.collections.Predicate | |
Predicate | Gets the predicate this iterator is using. |
Predicate | Gets the predicate this iterator is using. |
Constructors with parameter type org.apache.commons.collections.Predicate | |
Constructor that wraps (not copies). |
Methods with parameter type org.apache.commons.collections.Predicate | |
Buffer | Factory method to create a predicated (validating) buffer. |
Constructors with parameter type org.apache.commons.collections.Predicate | |
Constructor that wraps (not copies). | |
Constructor that wraps (not copies). |
Methods with parameter type org.apache.commons.collections.Predicate | |
Bag | Factory method to create a predicated (validating) bag. |
SortedBag | Factory method to create a predicated (validating) bag. |
Classes implementing org.apache.commons.collections.Predicate | |
class | Predicate implementation that returns true if all the predicates return true. |
class | Predicate implementation that returns true if both the predicates return true. |
class | Predicate implementation that returns true if any of the predicates return true. |
class | Predicate implementation that returns true if the input is the same object
as the one stored in this predicate by equals. |
class | Predicate implementation that always throws an exception. |
class | Predicate implementation that always returns false. |
class | Predicate implementation that returns true if the input is the same object
as the one stored in this predicate. |
class | Predicate implementation that returns true if the input is an instanceof
the type stored in this predicate. |
class | Predicate implementation that returns true if none of the predicates return true. |
class | Predicate implementation that returns true if the input is not null. |
class | Predicate implementation that returns the opposite of the decorated predicate. |
class | Predicate implementation that throws an exception if the input is null. |
class | Predicate implementation that returns false if the input is null. |
class | Predicate implementation that returns true if the input is null. |
class | Predicate implementation that returns true if the input is null. |
class | Predicate implementation that returns true if only one of the predicates return true. |
class | Predicate implementation that returns true if either of the predicates return true. |
class | Predicate implementation that transforms the given object before invoking
another Predicate . |
class | Predicate implementation that returns the result of a transformer. |
class | Predicate implementation that always returns true. |
class | Predicate implementation that returns true the first time an object is
passed into the predicate. |
Constructors with parameter type org.apache.commons.collections.Predicate | |
Constructor that performs no validation. | |
Constructor that performs no validation. | |
Constructor that performs no validation. | |
Constructor that performs no validation. | |
Constructor that performs no validation. | |
Constructor that performs no validation. | |
Constructor that performs no validation. | |
Constructor that performs no validation. | |
Constructor that performs no validation. | |
Constructor that performs no validation. | |
Constructor that performs no validation. | |
Constructor that performs no validation. | |
Constructor that performs no validation. | |
SwitchTransformer.SwitchTransformer(Predicate[] predicates, Transformer[] transformers, Transformer defaultTransformer) Constructor that performs no validation. | |
Constructor that performs no validation. | |
Constructor that performs no validation. |
Fields of type org.apache.commons.collections.Predicate | |
Predicate | Singleton predicate instance |
Predicate | Singleton predicate instance |
Predicate | Singleton predicate instance |
Predicate | Singleton predicate instance |
Predicate | Singleton predicate instance |
Methods with parameter type org.apache.commons.collections.Predicate | |
Predicate | Factory to create the not predicate. |
Predicate | Factory to create the null exception predicate. |
Predicate | Factory to create the null false predicate. |
Predicate | Factory to create the null true predicate. |
Transformer | Factory method that performs validation. |
Closure | Factory method that performs validation. |
Closure | Factory method that performs validation. |
Predicate | Factory to create the predicate. |
Predicate | Factory to create the predicate. |
Predicate | Factory to create the predicate. |
Predicate | Factory to create the predicate. |
Predicate | Factory to create the predicate. |
Predicate | Factory to create the predicate. |
Closure | Factory method that performs validation and copies the parameter arrays. |
Transformer | SwitchTransformer.getInstance(Predicate[] predicates, Transformer[] transformers, Transformer defaultTransformer) Factory method that performs validation and copies the parameter arrays. |
Predicate | Factory to create the predicate. |
Methods with return type org.apache.commons.collections.Predicate | |
Predicate | Factory returning the singleton instance. |
Predicate | Factory returning the singleton instance. |
Predicate | Factory returning the singleton instance. |
Predicate | Factory returning the singleton instance. |
Predicate | Factory returning the singleton instance. |
Predicate | Factory to create the predicate. |
Predicate | InstanceofPredicate.getInstance(Class type) Factory to create the identity predicate. |
Predicate | AllPredicate.getInstance(Collection predicates) Factory to create the predicate. |
Predicate | AnyPredicate.getInstance(Collection predicates) Factory to create the predicate. |
Predicate | NonePredicate.getInstance(Collection predicates) Factory to create the predicate. |
Predicate | OnePredicate.getInstance(Collection predicates) Factory to create the predicate. |
Predicate | EqualPredicate.getInstance(Object object) Factory to create the identity predicate. |
Predicate | IdentityPredicate.getInstance(Object object) Factory to create the identity predicate. |
Predicate | Factory to create the not predicate. |
Predicate | Factory to create the null exception predicate. |
Predicate | Factory to create the null false predicate. |
Predicate | Factory to create the null true predicate. |
Predicate | Factory to create the predicate. |
Predicate | Factory to create the predicate. |
Predicate | Factory to create the predicate. |
Predicate | Factory to create the predicate. |
Predicate | Factory to create the predicate. |
Predicate | Factory to create the predicate. |
Predicate | Factory to create the predicate. |
Predicate | Factory to create the predicate. |
Predicate | Gets the predicate. |
Predicate | Gets the predicate. |
Predicate | Gets the predicate in use. |
Predicate[] | Gets the predicates, do not modify the array. |
Predicate[] | Gets the two predicates being decorated as an array. |
Predicate[] | Gets the predicates, do not modify the array. |
Predicate[] | Gets the predicates, do not modify the array. |
Predicate[] | Gets the predicate being decorated. |
Predicate[] | Gets the predicate being decorated. |
Predicate[] | Gets the predicate being decorated. |
Predicate[] | Gets the predicate being decorated. |
Predicate[] | Gets the predicates, do not modify the array. |
Predicate[] | Gets the two predicates being decorated as an array. |
Predicate[] | Gets the predicates being decorated as an array. |
Predicate[] | Gets the predicates, do not modify the array. |
Predicate[] | Gets the predicates, do not modify the array. |
Predicate[] | Gets the predicate being decorated. |
Constructors with parameter type org.apache.commons.collections.Predicate | |
Constructor that wraps (not copies). | |
PredicatedSortedMap.PredicatedSortedMap(SortedMap map, Predicate keyPredicate, Predicate valuePredicate) Constructor that wraps (not copies). |
Fields of type org.apache.commons.collections.Predicate | |
Predicate | The key predicate to use |
Predicate | The value predicate to use |
Methods with parameter type org.apache.commons.collections.Predicate | |
Map | Factory method to create a predicated (validating) map. |
SortedMap | Factory method to create a predicated (validating) sorted map. |
Constructors with parameter type org.apache.commons.collections.Predicate | |
Constructor that wraps (not copies). |
Fields of type org.apache.commons.collections.Predicate | |
Predicate | The predicate to use |
Methods with parameter type org.apache.commons.collections.Predicate | |
Collection | Factory method to create a predicated (validating) collection. |
Methods with parameter type org.apache.commons.collections.Predicate | |
Predicate | Create a new Predicate that returns true only if all of the specified
predicates are true. |
Predicate | Create a new Predicate that returns true only if both of the specified
predicates are true. |
Predicate | Create a new Predicate that returns true if any of the specified
predicates are true. |
Transformer | Creates a Transformer that calls a Predicate each time the transformer is used. |
int | Counts the number of elements in the input collection that match the predicate. |
Closure | Creates a Closure that will call the closure once and then repeatedly
until the predicate returns false. |
Predicate | Create a new Predicate that returns true if one, but not both, of the
specified predicates are true. |
boolean | Answers true if a predicate is true for at least one element of a collection. |
void | Filter the collection by applying a Predicate to each element. |
Iterator | Gets an iterator that filters another iterator. |
ListIterator | Gets a list iterator that filters another list iterator. |
Object | Finds the first element in the given collection which matches the given predicate. |
Closure | Create a new Closure that calls one of two closures depending
on the specified predicate. |
Predicate | Create a new Predicate that returns true if neither of the specified
predicates are true. |
Predicate | Create a new Predicate that returns true if none of the specified
predicates are true. |
Predicate | Create a new Predicate that returns true if the specified predicate
returns false and vice versa. |
Predicate | Gets a Predicate that throws an exception if the input object is null,
otherwise it calls the specified Predicate. |
Predicate | Gets a Predicate that returns false if the input object is null, otherwise
it calls the specified Predicate. |
Predicate | Gets a Predicate that returns true if the input object is null, otherwise
it calls the specified Predicate. |
Predicate | Create a new Predicate that returns true if only one of the specified
predicates are true. |
Predicate | Create a new Predicate that returns true if either of the specified
predicates are true. |
Bag | Returns a predicated (validating) bag backed by the given bag. |
Buffer | Returns a predicated (validating) buffer backed by the given buffer. |
Collection | Returns a predicated (validating) collection backed by the given collection. |
List | Returns a predicated (validating) list backed by the given list. |
Map | Returns a predicated (validating) map backed by the given map. |
Set | Returns a predicated (validating) set backed by the given set. |
SortedBag | Returns a predicated (validating) sorted bag backed by the given sorted bag. |
SortedMap | Returns a predicated (validating) sorted map backed by the given map. |
SortedSet | Returns a predicated (validating) sorted set backed by the given sorted set. |
Collection | Selects all elements from input collection which match the given predicate
into an output collection. |
void | CollectionUtils.select(Collection inputCollection, Predicate predicate, Collection outputCollection) Selects all elements from input collection which match the given predicate
and adds them to outputCollection. |
Collection | Selects all elements from inputCollection which don't match the given predicate
into an output collection. |
void | CollectionUtils.selectRejected(Collection inputCollection, Predicate predicate, Collection outputCollection) Selects all elements from inputCollection which don't match the given predicate
and adds them to outputCollection. |
Closure | Create a new Closure that calls one of the closures depending
on the predicates. |
Closure | Create a new Closure that calls one of the closures depending
on the predicates. |
Transformer | TransformerUtils.switchTransformer(Predicate predicate, Transformer trueTransformer, Transformer falseTransformer) Create a new Transformer that calls one of two transformers depending
on the specified predicate. |
Transformer | Create a new Transformer that calls one of the transformers depending
on the predicates. |
Transformer | TransformerUtils.switchTransformer(Predicate[] predicates, Transformer[] transformers, Transformer defaultTransformer) Create a new Transformer that calls one of the transformers depending
on the predicates. |
Predicate | Creates a predicate that transforms the input object before passing it
to the predicate. |
Closure | Creates a Closure that will call the closure repeatedly until the
predicate returns false. |
Methods with return type org.apache.commons.collections.Predicate | |
Predicate | PredicateUtils.allPredicate(Collection predicates) Create a new Predicate that returns true only if all of the specified
predicates are true. |
Predicate | Create a new Predicate that returns true only if all of the specified
predicates are true. |
Predicate | Create a new Predicate that returns true only if both of the specified
predicates are true. |
Predicate | PredicateUtils.anyPredicate(Collection predicates) Create a new Predicate that returns true if any of the specified
predicates are true. |
Predicate | Create a new Predicate that returns true if any of the specified
predicates are true. |
Predicate | Create a new Predicate that wraps a Transformer. |
Predicate | Create a new Predicate that returns true if one, but not both, of the
specified predicates are true. |
Predicate | PredicateUtils.equalPredicate(Object value) Creates a Predicate that checks if the input object is equal to the
specified object using equals(). |
Predicate | Gets a Predicate that always throws an exception. |
Predicate | Gets a Predicate that always returns false. |
Predicate | PredicateUtils.identityPredicate(Object value) Creates a Predicate that checks if the input object is equal to the
specified object by identity. |
Predicate | PredicateUtils.instanceofPredicate(Class type) Creates a Predicate that checks if the object passed in is of
a particular type, using instanceof. |
Predicate | PredicateUtils.invokerPredicate(String methodName) Creates a Predicate that invokes a method on the input object. |
Predicate | PredicateUtils.invokerPredicate(String methodName, Class[] paramTypes, Object[] args) Creates a Predicate that invokes a method on the input object. |
Predicate | Create a new Predicate that returns true if neither of the specified
predicates are true. |
Predicate | PredicateUtils.nonePredicate(Collection predicates) Create a new Predicate that returns true if none of the specified
predicates are true. |
Predicate | Create a new Predicate that returns true if none of the specified
predicates are true. |
Predicate | Gets a Predicate that checks if the input object passed in is not null. |
Predicate | Create a new Predicate that returns true if the specified predicate
returns false and vice versa. |
Predicate | Gets a Predicate that throws an exception if the input object is null,
otherwise it calls the specified Predicate. |
Predicate | Gets a Predicate that returns false if the input object is null, otherwise
it calls the specified Predicate. |
Predicate | Gets a Predicate that returns true if the input object is null, otherwise
it calls the specified Predicate. |
Predicate | Gets a Predicate that checks if the input object passed in is null. |
Predicate | PredicateUtils.onePredicate(Collection predicates) Create a new Predicate that returns true if only one of the specified
predicates are true. |
Predicate | Create a new Predicate that returns true if only one of the specified
predicates are true. |
Predicate | Create a new Predicate that returns true if either of the specified
predicates are true. |
Predicate | Creates a predicate that transforms the input object before passing it
to the predicate. |
Predicate | Gets a Predicate that always returns true. |
Predicate | Creates a Predicate that returns true the first time an object is
encountered, and false if the same object is received
again. |