Colt 1.0.2

Uses of Interface
jal.SHORT.Predicate

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

Uses of Predicate in jal.SHORT
 

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


Colt 1.0.2

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