All Packages Class Hierarchy This Package Previous Next Index
Class benno.sort.VectorSorter
java.lang.Object
|
+----benno.sort.VectorSorter
- public class VectorSorter
- extends Object
This class provides a static method that will reorder a supplied vector
according to the supplied ordering object.
- Version:
- $Revision: 1.5 $
- Author:
- Ben Clifford
-
VectorSorter()
-
-
sort(Vector, Ordering)
- returns an ordered version of the supplied vector, ordered using
the supplied ordering.
VectorSorter
public VectorSorter()
sort
public static Vector sort(Vector v,
Ordering o)
- returns an ordered version of the supplied vector, ordered using
the supplied ordering.
- Parameters:
- v - The vector to be reordered
- o - The order into which the vector should be placed
- Returns:
- s A new vector containing the reordered elements of the input vector v
All Packages Class Hierarchy This Package Previous Next Index