com.ibm.ulc.util
Class UlcSorter

java.lang.Object
  |
  +--com.ibm.ulc.util.UlcSorter

public class UlcSorter
extends java.lang.Object


Constructor Summary
UlcSorter()
           
 
Method Summary
 void quickSort(int[] list, int left, int right)
          Sort the nodes in the given array in place.
 int[] sort(int[] toBeSorted)
          Sort the nodes in the given array returning a sorted copy.
 java.util.Vector sortIntegerVector(java.util.Vector toBeSorted)
          Sort the vector containing Integer objects and return a copy containing the sorted result.
 int[][] sortToIntervals(int[] coll)
          Internal
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UlcSorter

public UlcSorter()
Method Detail

quickSort

public void quickSort(int[] list,
                      int left,
                      int right)
Sort the nodes in the given array in place.

sort

public int[] sort(int[] toBeSorted)
Sort the nodes in the given array returning a sorted copy.

sortIntegerVector

public java.util.Vector sortIntegerVector(java.util.Vector toBeSorted)
Sort the vector containing Integer objects and return a copy containing the sorted result.

sortToIntervals

public int[][] sortToIntervals(int[] coll)
Internal