All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class sun.server.util.Sort

java.lang.Object
   |
   +----sun.server.util.Sort

public class Sort
extends Object

Constructor Index

 o Sort()

Method Index

 o quicksort(Object[], Compare)
 o quicksort(Object[], int, int, Compare)
quicksort the array of objects.

Constructors

 o Sort
 public Sort()

Methods

 o quicksort
 public static void quicksort(Object arr[],
                              int left,
                              int right,
                              Compare comp)
quicksort the array of objects.

Parameters:
arr[] - - an array of objects
left - - the start index - from where to begin sorting
right - - the last index.
comp - - an object that implemnts the Compare interface to resolve thecomparison.
 o quicksort
 public static void quicksort(Object arr[],
                              Compare comp)

All Packages  Class Hierarchy  This Package  Previous  Next  Index