Uses of Interface
uk.co.jezuk.mango.Predicate

Uses of Predicate in uk.co.jezuk.mango
 

Methods in uk.co.jezuk.mango that return Predicate
static Predicate Predicates.True()
          A Predicate which always returns true
static Predicate Predicates.False()
          A Predicate which always returns false
static Predicate Predicates.Not(Predicate pred)
          A Predicate which is the logical negation of some other Predicate.
static Predicate Predicates.And(Predicate pred1, Predicate pred2)
          A Predicate which returns the logical AND of two other Predicate.
static Predicate Predicates.Or(Predicate pred1, Predicate pred2)
          A Predicate which returns the logical OR of two other Predicate.
static Predicate Mango.True()
          Deprecated. A Predicate which always returns true
static Predicate Mango.False()
          Deprecated. A Predicate which always returns false
static Predicate Mango.Not(Predicate pred)
          Deprecated. A Predicate which is the logical negation of some other Predicate.
static Predicate Mango.And(Predicate pred1, Predicate pred2)
          Deprecated. A Predicate which returns the logical AND of two other Predicate.
static Predicate Mango.Or(Predicate pred1, Predicate pred2)
          Deprecated. A Predicate which returns the logical OR of two other Predicate.
static Predicate Bind.First(BinaryPredicate p, java.lang.Object c)
          Special case which adapts a BinaryPredicate to a Predicate.
static Predicate Bind.Second(BinaryPredicate p, java.lang.Object c)
          Special case which adapts a BinaryPredicate to a Predicate.
 

Methods in uk.co.jezuk.mango with parameters of type Predicate
static Predicate Predicates.Not(Predicate pred)
          A Predicate which is the logical negation of some other Predicate.
static Predicate Predicates.And(Predicate pred1, Predicate pred2)
          A Predicate which returns the logical AND of two other Predicate.
static Predicate Predicates.Or(Predicate pred1, Predicate pred2)
          A Predicate which returns the logical OR of two other Predicate.
static int Mango.countIf(java.util.Collection collection, Predicate test)
          Deprecated. CountIf is similar to Count, but more general.
static int Mango.countIf(java.util.Collection collection, int start, int end, Predicate test)
          Deprecated.  
static int Mango.countIf(java.util.List list, int start, int end, Predicate test)
          Deprecated.  
static int Mango.countIf(java.util.Iterator iterator, Predicate test)
          Deprecated.  
static java.lang.Object Mango.findIf(java.util.Collection collection, Predicate test)
          Deprecated. Searchs the sequence traversed by the Iterator and returns the first object encountered for which the Predicate returns true.
static java.lang.Object Mango.findIf(java.util.Collection collection, int start, int end, Predicate test)
          Deprecated.  
static java.lang.Object Mango.findIf(java.util.List list, int start, int end, Predicate test)
          Deprecated.  
static java.lang.Object Mango.findIf(java.util.Iterator iterator, Predicate test)
          Deprecated.  
static void Mango.removeIf(java.util.Collection collection, Predicate pred)
          Deprecated. Removes objects which match test from the sequence.
static void Mango.removeIf(java.util.Collection collection, int start, int end, Predicate pred)
          Deprecated.  
static void Mango.removeIf(java.util.List list, int start, int end, Predicate pred)
          Deprecated.  
static void Mango.removeIf(java.util.Iterator iterator, Predicate pred)
          Deprecated.  
static java.util.Iterator Mango.PredicatedIterator(java.util.Iterator iterator, Predicate predicate)
          Deprecated. A PredicatedIterator enumerates only those elements of a collection that match the supplied Predicate.
static Predicate Mango.Not(Predicate pred)
          Deprecated. A Predicate which is the logical negation of some other Predicate.
static Predicate Mango.And(Predicate pred1, Predicate pred2)
          Deprecated. A Predicate which returns the logical AND of two other Predicate.
static Predicate Mango.Or(Predicate pred1, Predicate pred2)
          Deprecated. A Predicate which returns the logical OR of two other Predicate.
static java.util.Iterator Iterators.PredicatedIterator(java.util.Iterator iterator, Predicate predicate)
          Deprecated. see Iterators.SelectingIterator(java.util.Iterator, uk.co.jezuk.mango.Predicate)
static java.util.Iterator Iterators.SelectingIterator(java.util.Iterator iterator, Predicate predicate)
          A SelectingIterator enumerates only those elements of a collection that match the supplied Predicate.
static java.util.Iterator Iterators.SkippingIterator(java.util.Iterator iterator, Predicate predicate)
          A SkippingIterator enumerates a sequence, stepping over the elements that match the supplied Predicate.
static int Algorithms.countIf(java.util.Collection collection, Predicate test)
          CountIf is similar to Count, but more general.
static int Algorithms.countIf(java.util.Collection collection, int start, int end, Predicate test)
           
static int Algorithms.countIf(java.util.List list, int start, int end, Predicate test)
           
static int Algorithms.countIf(java.util.Iterator iterator, Predicate test)
           
static int Algorithms.countIfNot(java.util.Collection collection, Predicate test)
          CountIfNot is the complement of CountIf.
static int Algorithms.countIfNot(java.util.Collection collection, int start, int end, Predicate test)
           
static int Algorithms.countIfNot(java.util.List list, int start, int end, Predicate test)
           
static int Algorithms.countIfNot(java.util.Iterator iterator, Predicate test)
           
static int Algorithms.findPositionIf(java.util.Collection collection, Predicate pred)
           
static int Algorithms.findPositionIf(java.util.Collection collection, int start, int end, Predicate pred)
           
static int Algorithms.findPositionIf(java.util.List list, int start, int end, Predicate pred)
           
static int Algorithms.findPositionIf(java.util.Iterator iterator, Predicate pred)
           
static java.lang.Object Algorithms.findIf(java.util.Collection collection, Predicate test)
          Searchs the sequence traversed by the Iterator and returns the first object encountered for which the Predicate returns true.
static java.lang.Object Algorithms.findIf(java.util.Collection collection, int start, int end, Predicate test)
           
static java.lang.Object Algorithms.findIf(java.util.List list, int start, int end, Predicate test)
           
static java.lang.Object Algorithms.findIf(java.util.Iterator iterator, Predicate test)
           
static java.lang.Object Algorithms.findIfNot(java.util.Collection collection, Predicate test)
          Searchs the sequence traversed by the Iterator and returns the first object encountered for which the Predicate returns false.
static java.lang.Object Algorithms.findIfNot(java.util.Collection collection, int start, int end, Predicate test)
           
static java.lang.Object Algorithms.findIfNot(java.util.List list, int start, int end, Predicate test)
           
static java.lang.Object Algorithms.findIfNot(java.util.Iterator iterator, Predicate test)
           
static void Algorithms.removeIf(java.util.Collection collection, Predicate pred)
          Removes objects which match test from the sequence.
static void Algorithms.removeIf(java.util.Collection collection, int start, int end, Predicate pred)
           
static void Algorithms.removeIf(java.util.List list, int start, int end, Predicate pred)
           
static void Algorithms.removeIf(java.util.Iterator iterator, Predicate pred)
           
static java.util.Collection Algorithms.partition(java.util.Collection collection, Predicate pred, java.util.Collection results)
          Partitions the supplied collections into two.
static java.util.Collection Algorithms.partition(java.util.Collection collection, int start, int end, Predicate pred, java.util.Collection results)
           
static java.util.Collection Algorithms.partition(java.util.List list, int start, int end, Predicate pred, java.util.Collection results)
           
static java.util.Collection Algorithms.partition(java.util.Iterator iterator, Predicate pred, java.util.Collection results)
           
 



Copyright © 2002-2006 JezUK Ltd.