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

Packages that use Predicate
org.apache.commons.collections Java Collections Framework extensions. 
org.apache.commons.collections.iterators Contains concrete Iterator implementations and utilities. 
 

Uses of Predicate in org.apache.commons.collections
 

Methods in org.apache.commons.collections with parameters of type Predicate
static java.util.Set SetUtils.predicatedSet(java.util.Set set, Predicate predicate)
          Returns a predicated set backed by the given set.
static java.util.SortedSet SetUtils.predicatedSortedSet(java.util.SortedSet set, Predicate predicate)
          Returns a predicated sorted set backed by the given sorted set.
static java.util.Map MapUtils.predicatedMap(java.util.Map map, Predicate keyPred, Predicate valuePred)
          Returns a predicated map backed by the given map.
static java.util.Map MapUtils.predicatedMap(java.util.Map map, Predicate keyPred, Predicate valuePred)
          Returns a predicated map backed by the given map.
static java.util.SortedMap MapUtils.predicatedSortedMap(java.util.SortedMap map, Predicate keyPred, Predicate valuePred)
          Returns a predicated sorted map backed by the given map.
static java.util.SortedMap MapUtils.predicatedSortedMap(java.util.SortedMap map, Predicate keyPred, Predicate valuePred)
          Returns a predicated sorted map backed by the given map.
static java.util.List ListUtils.predicatedList(java.util.List list, Predicate predicate)
          Returns a predicated list backed by the given list.
static java.util.Iterator IteratorUtils.filteredIterator(java.util.Iterator iterator, Predicate predicate)
          Gets an iterator that filters another iterator.
static java.util.ListIterator IteratorUtils.filteredListIterator(java.util.ListIterator listIterator, Predicate predicate)
          Gets a list iterator that filters another list iterator.
static java.lang.Object CollectionUtils.find(java.util.Collection collection, Predicate predicate)
          Finds the first element in the given collection which matches the given predicate.
static void CollectionUtils.filter(java.util.Collection collection, Predicate predicate)
          Filter the collection by applying a Predicate to each element.
static java.util.Collection CollectionUtils.select(java.util.Collection inputCollection, Predicate predicate)
          Selects all elements from input collection which match the given predicate into an output collection.
static void CollectionUtils.select(java.util.Collection inputCollection, Predicate predicate, java.util.Collection outputCollection)
          Selects all elements from input collection which match the given predicate and adds them to outputCollection.
static java.util.Collection CollectionUtils.predicatedCollection(java.util.Collection collection, Predicate predicate)
          Returns a predicated collection backed by the given collection.
static Buffer BufferUtils.predicatedBuffer(Buffer buffer, Predicate predicate)
          Returns a predicated buffer backed by the given buffer.
static Bag BagUtils.predicatedBag(Bag bag, Predicate predicate)
          Returns a predicated bag backed by the given bag.
static SortedBag BagUtils.predicatedSortedBag(SortedBag bag, Predicate predicate)
          Returns a predicated sorted bag backed by the given sorted bag.
 

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

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

Methods in org.apache.commons.collections.iterators that return Predicate
 Predicate FilterListIterator.getPredicate()
          Getter for the predicate property.
 Predicate FilterIterator.getPredicate()
          Getter for property predicate.
 

Methods in org.apache.commons.collections.iterators with parameters of type Predicate
 void FilterListIterator.setPredicate(Predicate predicate)
          Setter for the predicate property.
 void FilterIterator.setPredicate(Predicate predicate)
          Setter for property predicate.
 

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



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