All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class org.xmlmiddleware.utils.Sort

java.lang.Object
   |
   +----org.xmlmiddleware.utils.Sort

public class Sort
extends Object
Provides simple sort routines.

Version:
2.0
Author:
Ronald Bourret, 2001

Constructor Index

 o Sort()

Method Index

 o sort(long[], Object[])
Sort an array of objects by long.
 o sort(String[], Object[])
Sort an array of objects by string.

Constructors

 o Sort
 public Sort()

Methods

 o sort
 public static void sort(String keys[],
                         Object values[])
Sort an array of objects by string.

All sorting is done in the array passed to the method.

Parameters:
keys - The strings to sort on.
values - The objects to sort.
 o sort
 public static void sort(long keys[],
                         Object values[])
Sort an array of objects by long.

All sorting is done in the array passed to the method.

Parameters:
keys - The longs to sort on.
values - The objects to sort.

All Packages  Class Hierarchy  This Package  Previous  Next  Index