Uses of Interface
org.apache.commons.collections.Predicate

Packages that use Predicate
org.apache.commons.collections This package contains the interfaces and utilities shared across all the subpackages of this component. 
org.apache.commons.collections.bag This package contains implementations of the Bag and SortedBag interfaces. 
org.apache.commons.collections.buffer This package contains implementations of the Buffer interface. 
org.apache.commons.collections.collection This package contains implementations of the Collection interface. 
org.apache.commons.collections.functors This package contains implementations of the Closure, Predicate, Transformer and Factory interfaces. 
org.apache.commons.collections.iterators This package contains implementations of the Iterator interface. 
org.apache.commons.collections.list This package contains implementations of the List interface. 
org.apache.commons.collections.map This package contains implementations of the Map, IterableMap, OrderedMap and SortedMap interfaces. 
org.apache.commons.collections.set This package contains implementations of the Set and SortedSet interfaces. 
 

Uses of Predicate in org.apache.commons.collections
 

Methods in org.apache.commons.collections that return Predicate
static Predicate PredicateUtils.exceptionPredicate()
          Gets a Predicate that always throws an exception.
static Predicate PredicateUtils.truePredicate()
          Gets a Predicate that always returns true.
static Predicate PredicateUtils.falsePredicate()
          Gets a Predicate that always returns false.
static Predicate PredicateUtils.nullPredicate()
          Gets a Predicate that checks if the input object passed in is null.
static Predicate PredicateUtils.notNullPredicate()
          Gets a Predicate that checks if the input object passed in is not null.
static Predicate PredicateUtils.equalPredicate(Object value)
          Creates a Predicate that checks if the input object is equal to the specified object using equals().
static Predicate PredicateUtils.identityPredicate(Object value)
          Creates a Predicate that checks if the input object is equal to the specified object by identity.
static Predicate PredicateUtils.instanceofPredicate(Class type)
          Creates a Predicate that checks if the object passed in is of a particular type, using instanceof.
static Predicate PredicateUtils.uniquePredicate()
          Creates a Predicate that returns true the first time an object is encountered, and false if the same object is received again.
static Predicate PredicateUtils.invokerPredicate(String methodName)
          Creates a Predicate that invokes a method on the input object.
static Predicate PredicateUtils.invokerPredicate(String methodName, Class[] paramTypes, Object[] args)
          Creates a Predicate that invokes a method on the input object.
static Predicate PredicateUtils.andPredicate(Predicate predicate1, Predicate predicate2)
          Create a new Predicate that returns true only if both of the specified predicates are true.
static Predicate PredicateUtils.allPredicate(Predicate[] predicates)
          Create a new Predicate that returns true only if all of the specified predicates are true.
static Predicate PredicateUtils.allPredicate(Collection predicates)
          Create a new Predicate that returns true only if all of the specified predicates are true.
static Predicate PredicateUtils.orPredicate(Predicate predicate1, Predicate predicate2)
          Create a new Predicate that returns true if either of the specified predicates are true.
static Predicate PredicateUtils.anyPredicate(Predicate[] predicates)
          Create a new Predicate that returns true if any of the specified predicates are true.
static Predicate PredicateUtils.anyPredicate(Collection predicates)
          Create a new Predicate that returns true if any of the specified predicates are true.
static Predicate PredicateUtils.eitherPredicate(Predicate predicate1, Predicate predicate2)
          Create a new Predicate that returns true if one, but not both, of the specified predicates are true.
static Predicate PredicateUtils.onePredicate(Predicate[] predicates)
          Create a new Predicate that returns true if only one of the specified predicates are true.
static Predicate PredicateUtils.onePredicate(Collection predicates)
          Create a new Predicate that returns true if only one of the specified predicates are true.
static Predicate PredicateUtils.neitherPredicate(Predicate predicate1, Predicate predicate2)
          Create a new Predicate that returns true if neither of the specified predicates are true.
static Predicate PredicateUtils.nonePredicate(Predicate[] predicates)
          Create a new Predicate that returns true if none of the specified predicates are true.
static Predicate PredicateUtils.nonePredicate(Collection predicates)
          Create a new Predicate that returns true if none of the specified predicates are true.
static Predicate PredicateUtils.notPredicate(Predicate predicate)
          Create a new Predicate that returns true if the specified predicate returns false and vice versa.
static Predicate PredicateUtils.asPredicate(Transformer transformer)
          Create a new Predicate that wraps a Transformer.
static Predicate PredicateUtils.nullIsExceptionPredicate(Predicate predicate)
          Gets a Predicate that throws an exception if the input object is null, otherwise it calls the specified Predicate.
static Predicate PredicateUtils.nullIsFalsePredicate(Predicate predicate)
          Gets a Predicate that returns false if the input object is null, otherwise it calls the specified Predicate.
static Predicate PredicateUtils.nullIsTruePredicate(Predicate predicate)
          Gets a Predicate that returns true if the input object is null, otherwise it calls the specified Predicate.
static Predicate PredicateUtils.transformedPredicate(Transformer transformer, Predicate predicate)
          Creates a predicate that transforms the input object before passing it to the predicate.
 

Methods in org.apache.commons.collections with parameters of type Predicate
static Predicate PredicateUtils.andPredicate(Predicate predicate1, Predicate predicate2)
          Create a new Predicate that returns true only if both of the specified predicates are true.
static Predicate PredicateUtils.andPredicate(Predicate predicate1, Predicate predicate2)
          Create a new Predicate that returns true only if both of the specified predicates are true.
static Predicate PredicateUtils.allPredicate(Predicate[] predicates)
          Create a new Predicate that returns true only if all of the specified predicates are true.
static Predicate PredicateUtils.orPredicate(Predicate predicate1, Predicate predicate2)
          Create a new Predicate that returns true if either of the specified predicates are true.
static Predicate PredicateUtils.orPredicate(Predicate predicate1, Predicate predicate2)
          Create a new Predicate that returns true if either of the specified predicates are true.
static Predicate PredicateUtils.anyPredicate(Predicate[] predicates)
          Create a new Predicate that returns true if any of the specified predicates are true.
static Predicate PredicateUtils.eitherPredicate(Predicate predicate1, Predicate predicate2)
          Create a new Predicate that returns true if one, but not both, of the specified predicates are true.
static Predicate PredicateUtils.eitherPredicate(Predicate predicate1, Predicate predicate2)
          Create a new Predicate that returns true if one, but not both, of the specified predicates are true.
static Predicate PredicateUtils.onePredicate(Predicate[] predicates)
          Create a new Predicate that returns true if only one of the specified predicates are true.
static Predicate PredicateUtils.neitherPredicate(Predicate predicate1, Predicate predicate2)
          Create a new Predicate that returns true if neither of the specified predicates are true.
static Predicate PredicateUtils.neitherPredicate(Predicate predicate1, Predicate predicate2)
          Create a new Predicate that returns true if neither of the specified predicates are true.
static Predicate PredicateUtils.nonePredicate(Predicate[] predicates)
          Create a new Predicate that returns true if none of the specified predicates are true.
static Predicate PredicateUtils.notPredicate(Predicate predicate)
          Create a new Predicate that returns true if the specified predicate returns false and vice versa.
static Predicate PredicateUtils.nullIsExceptionPredicate(Predicate predicate)
          Gets a Predicate that throws an exception if the input object is null, otherwise it calls the specified Predicate.
static Predicate PredicateUtils.nullIsFalsePredicate(Predicate predicate)
          Gets a Predicate that returns false if the input object is null, otherwise it calls the specified Predicate.
static Predicate PredicateUtils.nullIsTruePredicate(Predicate predicate)
          Gets a Predicate that returns true if the input object is null, otherwise it calls the specified Predicate.
static Predicate PredicateUtils.transformedPredicate(Transformer transformer, Predicate predicate)
          Creates a predicate that transforms the input object before passing it to the predicate.
static Set SetUtils.predicatedSet(Set set, Predicate predicate)
          Returns a predicated (validating) set backed by the given set.
static SortedSet SetUtils.predicatedSortedSet(SortedSet set, Predicate predicate)
          Returns a predicated (validating) sorted set backed by the given sorted set.
static Closure ClosureUtils.whileClosure(Predicate predicate, Closure closure)
          Creates a Closure that will call the closure repeatedly until the predicate returns false.
static Closure ClosureUtils.doWhileClosure(Closure closure, Predicate predicate)
          Creates a Closure that will call the closure once and then repeatedly until the predicate returns false.
static Closure ClosureUtils.ifClosure(Predicate predicate, Closure trueClosure, Closure falseClosure)
          Create a new Closure that calls one of two closures depending on the specified predicate.
static Closure ClosureUtils.switchClosure(Predicate[] predicates, Closure[] closures)
          Create a new Closure that calls one of the closures depending on the predicates.
static Closure ClosureUtils.switchClosure(Predicate[] predicates, Closure[] closures, Closure defaultClosure)
          Create a new Closure that calls one of the closures depending on the predicates.
static Map MapUtils.predicatedMap(Map map, Predicate keyPred, Predicate valuePred)
          Returns a predicated (validating) map backed by the given map.
static Map MapUtils.predicatedMap(Map map, Predicate keyPred, Predicate valuePred)
          Returns a predicated (validating) map backed by the given map.
static SortedMap MapUtils.predicatedSortedMap(SortedMap map, Predicate keyPred, Predicate valuePred)
          Returns a predicated (validating) sorted map backed by the given map.
static SortedMap MapUtils.predicatedSortedMap(SortedMap map, Predicate keyPred, Predicate valuePred)
          Returns a predicated (validating) sorted map backed by the given map.
static List ListUtils.predicatedList(List list, Predicate predicate)
          Returns a predicated (validating) list backed by the given list.
static Iterator IteratorUtils.filteredIterator(Iterator iterator, Predicate predicate)
          Gets an iterator that filters another iterator.
static ListIterator IteratorUtils.filteredListIterator(ListIterator listIterator, Predicate predicate)
          Gets a list iterator that filters another list iterator.
static Transformer TransformerUtils.asTransformer(Predicate predicate)
          Creates a Transformer that calls a Predicate each time the transformer is used.
static Transformer TransformerUtils.switchTransformer(Predicate predicate, Transformer trueTransformer, Transformer falseTransformer)
          Create a new Transformer that calls one of two transformers depending on the specified predicate.
static Transformer TransformerUtils.switchTransformer(Predicate[] predicates, Transformer[] transformers)
          Create a new Transformer that calls one of the transformers depending on the predicates.
static Transformer TransformerUtils.switchTransformer(Predicate[] predicates, Transformer[] transformers, Transformer defaultTransformer)
          Create a new Transformer that calls one of the transformers depending on the predicates.
static Object CollectionUtils.find(Collection collection, Predicate predicate)
          Finds the first element in the given collection which matches the given predicate.
static void CollectionUtils.filter(Collection collection, Predicate predicate)
          Filter the collection by applying a Predicate to each element.
static int CollectionUtils.countMatches(Collection inputCollection, Predicate predicate)
          Counts the number of elements in the input collection that match the predicate.
static boolean CollectionUtils.exists(Collection collection, Predicate predicate)
          Answers true if a predicate is true for at least one element of a collection.
static Collection CollectionUtils.select(Collection inputCollection, Predicate predicate)
          Selects all elements from input collection which match the given predicate into an output collection.
static 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.
static Collection CollectionUtils.selectRejected(Collection inputCollection, Predicate predicate)
          Selects all elements from inputCollection which don't match the given predicate into an output collection.
static 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.
static Collection CollectionUtils.predicatedCollection(Collection collection, Predicate predicate)
          Returns a predicated (validating) collection backed by the given collection.
static Buffer BufferUtils.predicatedBuffer(Buffer buffer, Predicate predicate)
          Returns a predicated (validating) buffer backed by the given buffer.
static Bag BagUtils.predicatedBag(Bag bag, Predicate predicate)
          Returns a predicated (validating) bag backed by the given bag.
static SortedBag BagUtils.predicatedSortedBag(SortedBag bag, Predicate predicate)
          Returns a predicated (validating) sorted bag backed by the given sorted bag.
 

Uses of Predicate in org.apache.commons.collections.bag
 

Methods in org.apache.commons.collections.bag with parameters of type Predicate
static SortedBag PredicatedSortedBag.decorate(SortedBag bag, Predicate predicate)
          Factory method to create a predicated (validating) bag.
static Bag PredicatedBag.decorate(Bag bag, Predicate predicate)
          Factory method to create a predicated (validating) bag.
 

Constructors in org.apache.commons.collections.bag with parameters of type Predicate
PredicatedSortedBag(SortedBag bag, Predicate predicate)
          Constructor that wraps (not copies).
PredicatedBag(Bag bag, Predicate predicate)
          Constructor that wraps (not copies).
 

Uses of Predicate in org.apache.commons.collections.buffer
 

Methods in org.apache.commons.collections.buffer with parameters of type Predicate
static Buffer PredicatedBuffer.decorate(Buffer buffer, Predicate predicate)
          Factory method to create a predicated (validating) buffer.
 

Constructors in org.apache.commons.collections.buffer with parameters of type Predicate
PredicatedBuffer(Buffer buffer, Predicate predicate)
          Constructor that wraps (not copies).
 

Uses of Predicate in org.apache.commons.collections.collection
 

Fields in org.apache.commons.collections.collection declared as Predicate
protected  Predicate PredicatedCollection.predicate
          The predicate to use
 

Methods in org.apache.commons.collections.collection with parameters of type Predicate
static Collection PredicatedCollection.decorate(Collection coll, Predicate predicate)
          Factory method to create a predicated (validating) collection.
 

Constructors in org.apache.commons.collections.collection with parameters of type Predicate
PredicatedCollection(Collection coll, Predicate predicate)
          Constructor that wraps (not copies).
 

Uses of Predicate in org.apache.commons.collections.functors
 

Subinterfaces of Predicate in org.apache.commons.collections.functors
 interface PredicateDecorator
          Defines a predicate that decorates one or more other predicates.
 

Classes in org.apache.commons.collections.functors that implement Predicate
 class AllPredicate
          Predicate implementation that returns true if all the predicates return true.
 class AndPredicate
          Predicate implementation that returns true if both the predicates return true.
 class AnyPredicate
          Predicate implementation that returns true if any of the predicates return true.
 class EqualPredicate
          Predicate implementation that returns true if the input is the same object as the one stored in this predicate by equals.
 class ExceptionPredicate
          Predicate implementation that always throws an exception.
 class FalsePredicate
          Predicate implementation that always returns false.
 class IdentityPredicate
          Predicate implementation that returns true if the input is the same object as the one stored in this predicate.
 class InstanceofPredicate
          Predicate implementation that returns true if the input is an instanceof the type stored in this predicate.
 class NonePredicate
          Predicate implementation that returns true if none of the predicates return true.
 class NotNullPredicate
          Predicate implementation that returns true if the input is not null.
 class NotPredicate
          Predicate implementation that returns the opposite of the decorated predicate.
 class NullIsExceptionPredicate
          Predicate implementation that throws an exception if the input is null.
 class NullIsFalsePredicate
          Predicate implementation that returns false if the input is null.
 class NullIsTruePredicate
          Predicate implementation that returns true if the input is null.
 class NullPredicate
          Predicate implementation that returns true if the input is null.
 class OnePredicate
          Predicate implementation that returns true if only one of the predicates return true.
 class OrPredicate
          Predicate implementation that returns true if either of the predicates return true.
 class TransformedPredicate
          Predicate implementation that transforms the given object before invoking another Predicate.
 class TransformerPredicate
          Predicate implementation that returns the result of a transformer.
 class TruePredicate
          Predicate implementation that always returns true.
 class UniquePredicate
          Predicate implementation that returns true the first time an object is passed into the predicate.
 

Fields in org.apache.commons.collections.functors declared as Predicate
static Predicate TruePredicate.INSTANCE
          Singleton predicate instance
static Predicate NullPredicate.INSTANCE
          Singleton predicate instance
static Predicate NotNullPredicate.INSTANCE
          Singleton predicate instance
static Predicate FalsePredicate.INSTANCE
          Singleton predicate instance
static Predicate ExceptionPredicate.INSTANCE
          Singleton predicate instance
 

Methods in org.apache.commons.collections.functors that return Predicate
 Predicate[] PredicateDecorator.getPredicates()
          Gets the predicates being decorated as an array.
 Predicate WhileClosure.getPredicate()
          Gets the predicate in use.
static Predicate UniquePredicate.getInstance()
          Factory to create the predicate.
static Predicate TruePredicate.getInstance()
          Factory returning the singleton instance.
static Predicate TransformerPredicate.getInstance(Transformer transformer)
          Factory to create the predicate.
static Predicate TransformedPredicate.getInstance(Transformer transformer, Predicate predicate)
          Factory to create the predicate.
 Predicate[] TransformedPredicate.getPredicates()
          Gets the predicate being decorated.
 Predicate[] SwitchTransformer.getPredicates()
          Gets the predicates, do not modify the array.
 Predicate[] SwitchClosure.getPredicates()
          Gets the predicates, do not modify the array.
 Predicate PredicateTransformer.getPredicate()
          Gets the predicate.
static Predicate OrPredicate.getInstance(Predicate predicate1, Predicate predicate2)
          Factory to create the predicate.
 Predicate[] OrPredicate.getPredicates()
          Gets the two predicates being decorated as an array.
static Predicate OnePredicate.getInstance(Predicate[] predicates)
          Factory to create the predicate.
static Predicate OnePredicate.getInstance(Collection predicates)
          Factory to create the predicate.
 Predicate[] OnePredicate.getPredicates()
          Gets the predicates, do not modify the array.
static Predicate NullPredicate.getInstance()
          Factory returning the singleton instance.
static Predicate NullIsTruePredicate.getInstance(Predicate predicate)
          Factory to create the null true predicate.
 Predicate[] NullIsTruePredicate.getPredicates()
          Gets the predicate being decorated.
static Predicate NullIsFalsePredicate.getInstance(Predicate predicate)
          Factory to create the null false predicate.
 Predicate[] NullIsFalsePredicate.getPredicates()
          Gets the predicate being decorated.
static Predicate NullIsExceptionPredicate.getInstance(Predicate predicate)
          Factory to create the null exception predicate.
 Predicate[] NullIsExceptionPredicate.getPredicates()
          Gets the predicate being decorated.
static Predicate NotPredicate.getInstance(Predicate predicate)
          Factory to create the not predicate.
 Predicate[] NotPredicate.getPredicates()
          Gets the predicate being decorated.
static Predicate NotNullPredicate.getInstance()
          Factory returning the singleton instance.
static Predicate NonePredicate.getInstance(Predicate[] predicates)
          Factory to create the predicate.
static Predicate NonePredicate.getInstance(Collection predicates)
          Factory to create the predicate.
 Predicate[] NonePredicate.getPredicates()
          Gets the predicates, do not modify the array.
static Predicate InstanceofPredicate.getInstance(Class type)
          Factory to create the identity predicate.
 Predicate IfClosure.getPredicate()
          Gets the predicate.
static Predicate IdentityPredicate.getInstance(Object object)
          Factory to create the identity predicate.
static Predicate FalsePredicate.getInstance()
          Factory returning the singleton instance.
static Predicate ExceptionPredicate.getInstance()
          Factory returning the singleton instance.
static Predicate EqualPredicate.getInstance(Object object)
          Factory to create the identity predicate.
static Predicate AnyPredicate.getInstance(Predicate[] predicates)
          Factory to create the predicate.
static Predicate AnyPredicate.getInstance(Collection predicates)
          Factory to create the predicate.
 Predicate[] AnyPredicate.getPredicates()
          Gets the predicates, do not modify the array.
static Predicate AndPredicate.getInstance(Predicate predicate1, Predicate predicate2)
          Factory to create the predicate.
 Predicate[] AndPredicate.getPredicates()
          Gets the two predicates being decorated as an array.
static Predicate AllPredicate.getInstance(Predicate[] predicates)
          Factory to create the predicate.
static Predicate AllPredicate.getInstance(Collection predicates)
          Factory to create the predicate.
 Predicate[] AllPredicate.getPredicates()
          Gets the predicates, do not modify the array.
 

Methods in org.apache.commons.collections.functors with parameters of type Predicate
static Closure WhileClosure.getInstance(Predicate predicate, Closure closure, boolean doLoop)
          Factory method that performs validation.
static Predicate TransformedPredicate.getInstance(Transformer transformer, Predicate predicate)
          Factory to create the predicate.
static Transformer SwitchTransformer.getInstance(Predicate[] predicates, Transformer[] transformers, Transformer defaultTransformer)
          Factory method that performs validation and copies the parameter arrays.
static Closure SwitchClosure.getInstance(Predicate[] predicates, Closure[] closures, Closure defaultClosure)
          Factory method that performs validation and copies the parameter arrays.
static Transformer PredicateTransformer.getInstance(Predicate predicate)
          Factory method that performs validation.
static Predicate OrPredicate.getInstance(Predicate predicate1, Predicate predicate2)
          Factory to create the predicate.
static Predicate OrPredicate.getInstance(Predicate predicate1, Predicate predicate2)
          Factory to create the predicate.
static Predicate OnePredicate.getInstance(Predicate[] predicates)
          Factory to create the predicate.
static Predicate NullIsTruePredicate.getInstance(Predicate predicate)
          Factory to create the null true predicate.
static Predicate NullIsFalsePredicate.getInstance(Predicate predicate)
          Factory to create the null false predicate.
static Predicate NullIsExceptionPredicate.getInstance(Predicate predicate)
          Factory to create the null exception predicate.
static Predicate NotPredicate.getInstance(Predicate predicate)
          Factory to create the not predicate.
static Predicate NonePredicate.getInstance(Predicate[] predicates)
          Factory to create the predicate.
static Closure IfClosure.getInstance(Predicate predicate, Closure trueClosure, Closure falseClosure)
          Factory method that performs validation.
static Predicate AnyPredicate.getInstance(Predicate[] predicates)
          Factory to create the predicate.
static Predicate AndPredicate.getInstance(Predicate predicate1, Predicate predicate2)
          Factory to create the predicate.
static Predicate AndPredicate.getInstance(Predicate predicate1, Predicate predicate2)
          Factory to create the predicate.
static Predicate AllPredicate.getInstance(Predicate[] predicates)
          Factory to create the predicate.
 

Constructors in org.apache.commons.collections.functors with parameters of type Predicate
WhileClosure(Predicate predicate, Closure closure, boolean doLoop)
          Constructor that performs no validation.
TransformedPredicate(Transformer transformer, Predicate predicate)
          Constructor that performs no validation.
SwitchTransformer(Predicate[] predicates, Transformer[] transformers, Transformer defaultTransformer)
          Constructor that performs no validation.
SwitchClosure(Predicate[] predicates, Closure[] closures, Closure defaultClosure)
          Constructor that performs no validation.
PredicateTransformer(Predicate predicate)
          Constructor that performs no validation.
OrPredicate(Predicate predicate1, Predicate predicate2)
          Constructor that performs no validation.
OrPredicate(Predicate predicate1, Predicate predicate2)
          Constructor that performs no validation.
OnePredicate(Predicate[] predicates)
          Constructor that performs no validation.
NullIsTruePredicate(Predicate predicate)
          Constructor that performs no validation.
NullIsFalsePredicate(Predicate predicate)
          Constructor that performs no validation.
NullIsExceptionPredicate(Predicate predicate)
          Constructor that performs no validation.
NotPredicate(Predicate predicate)
          Constructor that performs no validation.
NonePredicate(Predicate[] predicates)
          Constructor that performs no validation.
IfClosure(Predicate predicate, Closure trueClosure, Closure falseClosure)
          Constructor that performs no validation.
AnyPredicate(Predicate[] predicates)
          Constructor that performs no validation.
AndPredicate(Predicate predicate1, Predicate predicate2)
          Constructor that performs no validation.
AndPredicate(Predicate predicate1, Predicate predicate2)
          Constructor that performs no validation.
AllPredicate(Predicate[] predicates)
          Constructor that performs no validation.
 

Uses of Predicate in org.apache.commons.collections.iterators
 

Methods in org.apache.commons.collections.iterators that return Predicate
 Predicate FilterListIterator.getPredicate()
          Gets the predicate this iterator is using.
 Predicate FilterIterator.getPredicate()
          Gets the predicate this iterator is using.
 

Methods in org.apache.commons.collections.iterators with parameters of type Predicate
 void FilterListIterator.setPredicate(Predicate predicate)
          Sets the predicate this the iterator to use.
 void FilterIterator.setPredicate(Predicate predicate)
          Sets the predicate this the iterator to use.
 

Constructors in org.apache.commons.collections.iterators with parameters of type Predicate
FilterListIterator(ListIterator iterator, Predicate predicate)
          Constructs a new FilterListIterator.
FilterListIterator(Predicate predicate)
          Constructs a new FilterListIterator that will not function until setListIterator is invoked.
FilterIterator(Iterator iterator, Predicate predicate)
          Constructs a new FilterIterator that will use the given iterator and predicate.
 

Uses of Predicate in org.apache.commons.collections.list
 

Methods in org.apache.commons.collections.list with parameters of type Predicate
static List PredicatedList.decorate(List list, Predicate predicate)
          Factory method to create a predicated (validating) list.
 

Constructors in org.apache.commons.collections.list with parameters of type Predicate
PredicatedList(List list, Predicate predicate)
          Constructor that wraps (not copies).
 

Uses of Predicate in org.apache.commons.collections.map
 

Fields in org.apache.commons.collections.map declared as Predicate
protected  Predicate PredicatedMap.keyPredicate
          The key predicate to use
protected  Predicate PredicatedMap.valuePredicate
          The value predicate to use
 

Methods in org.apache.commons.collections.map with parameters of type Predicate
static SortedMap PredicatedSortedMap.decorate(SortedMap map, Predicate keyPredicate, Predicate valuePredicate)
          Factory method to create a predicated (validating) sorted map.
static SortedMap PredicatedSortedMap.decorate(SortedMap map, Predicate keyPredicate, Predicate valuePredicate)
          Factory method to create a predicated (validating) sorted map.
static Map PredicatedMap.decorate(Map map, Predicate keyPredicate, Predicate valuePredicate)
          Factory method to create a predicated (validating) map.
static Map PredicatedMap.decorate(Map map, Predicate keyPredicate, Predicate valuePredicate)
          Factory method to create a predicated (validating) map.
 

Constructors in org.apache.commons.collections.map with parameters of type Predicate
PredicatedSortedMap(SortedMap map, Predicate keyPredicate, Predicate valuePredicate)
          Constructor that wraps (not copies).
PredicatedSortedMap(SortedMap map, Predicate keyPredicate, Predicate valuePredicate)
          Constructor that wraps (not copies).
PredicatedMap(Map map, Predicate keyPredicate, Predicate valuePredicate)
          Constructor that wraps (not copies).
PredicatedMap(Map map, Predicate keyPredicate, Predicate valuePredicate)
          Constructor that wraps (not copies).
 

Uses of Predicate in org.apache.commons.collections.set
 

Methods in org.apache.commons.collections.set with parameters of type Predicate
static SortedSet PredicatedSortedSet.decorate(SortedSet set, Predicate predicate)
          Factory method to create a predicated (validating) sorted set.
static Set PredicatedSet.decorate(Set set, Predicate predicate)
          Factory method to create a predicated (validating) set.
 

Constructors in org.apache.commons.collections.set with parameters of type Predicate
PredicatedSortedSet(SortedSet set, Predicate predicate)
          Constructor that wraps (not copies).
PredicatedSet(Set set, Predicate predicate)
          Constructor that wraps (not copies).
 



Copyright © 2001-2004 Apache Software Foundation. All Rights Reserved.