|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use Predicate | |
|---|---|
| util | |
| Uses of Predicate in util |
|---|
| Methods in util with parameters of type Predicate | ||
|---|---|---|
static
|
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
|
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
|
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
|
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
|
Functional.span(C coll,
Predicate<T> pred)
Split a collection at the first element not satisfying a predicate, returning two arrays. |
|
static
|
Functional.span(C coll,
Predicate<T> pred,
C1 tgt1,
C2 tgt2)
Split a collection at the first element not satisfying a predicate. |
|
static
|
Functional.span(T[] arr,
Predicate<T> pred)
Split an array at the first element not satisfying a predicate, returning two arrays. |
|
static
|
Functional.span(T[] arr,
Predicate<T> pred,
C1 tgt1,
C2 tgt2)
Split an array at the first element not satisfying a predicate. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||