|
Colt 1.0.2 | |||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Predicate | |
jal.String | Algorithms on String arrays; A partial STL port by the C++ Standard Template Library authors. |
Uses of Predicate in jal.String |
Methods in jal.String with parameters of type Predicate | |
static int |
Inspection.find_if(String[] array,
int first,
int last,
Predicate p)
Finds the first element in a range that satisfies a condition. |
static int |
Inspection.find_if_not(String[] array,
int first,
int last,
Predicate p)
Finds the first element in a range that does not satisfy some condition. |
static int |
Inspection.count_if(String[] array,
int first,
int last,
Predicate p)
Counts the number of elements in a range that satisfy a condition. |
static int |
Inspection.count_if_not(String[] array,
int first,
int last,
Predicate p)
Counts the number of elements in a range that do not satisfy a condition. |
static void |
Modification.replace_if(String[] array,
int first,
int last,
Predicate p,
String new_value)
Performs in-place substitution on a range of elements. |
static void |
Modification.replace_copy_if(String[] source,
String[] destination,
int first,
int last,
int to,
Predicate p,
String new_value)
Performs copying and substitution on a range of elements. |
static int |
Modification.remove_if(String[] array,
int first,
int last,
Predicate p)
Remove all elements from a range that satisfy a specified condition. |
static int |
Modification.stable_remove_if(String[] array,
int first,
int last,
Predicate p)
Remove all elements from a range that satisfy a specified condition. |
static int |
Modification.remove_copy_if(String[] source,
String[] 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 |
Modification.partition(String[] 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 |
Modification.stable_partition(String[] 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. |
|
Colt 1.0.2 | |||||||||
PREV NEXT | FRAMES NO FRAMES |