JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.util
Class JCMappingSort

java.lang.Object
  |
  +--com.klg.jclass.util.JCMappingSort

public class JCMappingSort
extends Object

JCMappingSort class.


Method Summary
static void sort(com.klg.jclass.util.JCIntComparator comparator, int[] indices)
          Sorts the indices of elements using the quicksort algorithm.
static void sort(com.klg.jclass.util.JCIntComparator comparator, int[] indices, int start, int end)
          Sorts the indices of elements using the quicksort algorithm.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

sort

public static void sort(com.klg.jclass.util.JCIntComparator comparator,
                        int[] indices)
Sorts the indices of elements using the quicksort algorithm.

Parameters:
comparator - the comparator for the sort
indices - the array of indices which get sorted

sort

public static void sort(com.klg.jclass.util.JCIntComparator comparator,
                        int[] indices,
                        int start,
                        int end)
Sorts the indices of elements using the quicksort algorithm.

Parameters:
comparator - the comparator for the sort
indices - the array of indices which get sorted
start - the start position in the array to sort
end - the end position in the array to sort

Copyright © 2004 Quest Software Inc..
All rights reserved.