Colt 1.0.1

Uses of Interface
jal.INT.Predicate

Packages that use Predicate
jal.INT Algorithms on int arrays; A partial STL port by the C++ Standard Template Library authors. 
 

Uses of Predicate in jal.INT
 

Methods in jal.INT with parameters of type Predicate
static void replace_if(int[] array, int first, int last, Predicate p, int new_value)
          Performs in-place substitution on a range of elements.
static void replace_copy_if(int[] source, int[] destination, int first, int last, int to, Predicate p, int new_value)
          Performs copying and substitution on a range of elements.
static int remove_if(int[] array, int first, int last, Predicate p)
          Remove all elements from a range that satisfy a specified condition.
static int stable_remove_if(int[] array, int first, int last, Predicate p)
          Remove all elements from a range that satisfy a specified condition.
static int remove_copy_if(int[] source, int[] 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(int[] 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(int[] 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(int[] array, int first, int last, Predicate p)
          Finds the first element in a range that satisfies a condition.
static int find_if_not(int[] array, int first, int last, Predicate p)
          Finds the first element in a range that does not satisfy some condition.
static int count_if(int[] array, int first, int last, Predicate p)
          Counts the number of elements in a range that satisfy a condition.
static int count_if_not(int[] 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

Submit a bug or feature. Check the Colt home page for the latest news.