Uses of Interface
util.Predicate

Packages that use Predicate
util   
 

Uses of Predicate in util
 

Methods in util with parameters of type Predicate
static
<T,C extends Collection<T>>
Pair<T[],T[]>
Functional.separate(C coll, Predicate<T> pred)
          Divide a collection into those elements satisfying and those not satisfying a given predicate, returning two arrays.
static
<T,C extends Collection<T>,C1 extends Collection<T>,C2 extends Collection<T>>
Pair<C1,C2>
Functional.separate(C coll, Predicate<T> pred, C1 tgtTrue, C2 tgtFalse)
          Divide a collection into those elements satisfying and those not satisfying a given predicate.
static
<T> Pair<T[],T[]>
Functional.separate(T[] arr, Predicate<T> pred)
          Divide an array into those elements satisfying and those not satisfying a given predicate, returning two arrays.
static
<T,C1 extends Collection<T>,C2 extends Collection<T>>
Pair<C1,C2>
Functional.separate(T[] arr, Predicate<T> pred, C1 tgtTrue, C2 tgtFalse)
          Divide an array into those elements satisfying and those not satisfying a given predicate.
static
<T,C extends Collection<T>>
Pair<T[],T[]>
Functional.span(C coll, Predicate<T> pred)
          Split a collection at the first element not satisfying a predicate, returning two arrays.
static
<T,C extends Collection<T>,C1 extends Collection<T>,C2 extends Collection<T>>
Pair<C1,C2>
Functional.span(C coll, Predicate<T> pred, C1 tgt1, C2 tgt2)
          Split a collection at the first element not satisfying a predicate.
static
<T> Pair<T[],T[]>
Functional.span(T[] arr, Predicate<T> pred)
          Split an array at the first element not satisfying a predicate, returning two arrays.
static
<T,C1 extends Collection<T>,C2 extends Collection<T>>
Pair<C1,C2>
Functional.span(T[] arr, Predicate<T> pred, C1 tgt1, C2 tgt2)
          Split an array at the first element not satisfying a predicate.