FileDocCategorySizeDatePackage
Sorter.javaAPI DocAndroid 1.5 API1474Wed May 06 22:41:04 BST 2009org.apache.harmony.luni.util

Sorter

public final class Sorter extends Object
Helper class with methods for sorting arrays.
deprecated
Use {@link Comparator} and {@link Arrays.sort()}

Fields Summary
Constructors Summary
Methods Summary
public static voidsort(T[] objs, org.apache.harmony.luni.util.Sorter$Comparator comp)
Sorts the array of objects using the default sorting algorithm.

param
objs array of objects to be sorted
param
comp A Comparator to be used to sort the elements

        Arrays.sort(objs, comp);