|
Colt 1.0.1 | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Predicate | |
jal.LONG | Algorithms on long arrays; A partial STL port by the C++ Standard Template Library authors. |
Uses of Predicate in jal.LONG |
Methods in jal.LONG with parameters of type Predicate | |
static void |
replace_if(long[] array,
int first,
int last,
Predicate p,
long new_value)
Performs in-place substitution on a range of elements. |
static void |
replace_copy_if(long[] source,
long[] destination,
int first,
int last,
int to,
Predicate p,
long new_value)
Performs copying and substitution on a range of elements. |
static int |
remove_if(long[] array,
int first,
int last,
Predicate p)
Remove all elements from a range that satisfy a specified condition. |
static int |
stable_remove_if(long[] array,
int first,
int last,
Predicate p)
Remove all elements from a range that satisfy a specified condition. |
static int |
remove_copy_if(long[] source,
long[] destination,
int first,
int last,
int to,
Predicate p)
Copies all of the elements in a range except for those that satisfy a given condition. |
static int |
partition(long[] array,
int first,
int last,
Predicate p)
Rearranges elements in a range such that all elements that satisfy a condition are placed before all elements that do not satisfy it. |
static int |
stable_partition(long[] array,
int first,
int last,
Predicate p)
Rearranges elements in a range such that all elements that satisfy a condition are placed before all elements that do not satisfy it. |
static int |
find_if(long[] array,
int first,
int last,
Predicate p)
Finds the first element in a range that satisfies a condition. |
static int |
find_if_not(long[] array,
int first,
int last,
Predicate p)
Finds the first element in a range that does not satisfy some condition. |
static int |
count_if(long[] array,
int first,
int last,
Predicate p)
Counts the number of elements in a range that satisfy a condition. |
static int |
count_if_not(long[] array,
int first,
int last,
Predicate p)
Counts the number of elements in a range that do not satisfy a condition. |
|
Colt 1.0.1 | |||||||||
PREV NEXT | FRAMES NO FRAMES |