public class InsertionsSortProjection_1x0
extends java.lang.Object
Modifier and Type  Method and Description 

static void 
sort(byte[] a,
int[] p)
sorts some of the bytearrayelements which are defined by the projection array p[]

static void 
sort(char[] a,
int[] p)
sorts some of the doublearrayelements which are defined by the projection array p[]

static void 
sort(double[] a,
int[] p)
sorts some of the doublearrayelements which are defined by the projection array p[]

static void 
sort(float[] a,
int[] p)
sorts some of the floatarrayelements which are defined by the projection array p[]

static void 
sort(int[] a,
int[] p)
sorts some of the integerarrayelements which are defined by the projection array p[]

static void 
sort(long[] a,
int[] p)
sorts some of the longarrayelements which are defined by the projection array p[]

static void 
sort(short[] a,
int[] p)
sorts some of the bytearrayelements which are defined by the projection array p[]

static <T> void 
sort(T[] a,
int[] p,
java.util.Comparator<T> comparator)
sorts the some of the arrayelements which are defined by the projection array p[]

public static <T> void sort(T[] a, int[] p, java.util.Comparator<T> comparator)
T
 type of the elementa
 original array which should be partly sortedp
 projections array, which defines the indexes of the elements
in the original array, which should be sorted. This array must
be sortedcomparator
 comparator which is used to compare elements of the array to
each otherpublic static void sort(byte[] a, int[] p)
a
 original array which should be partly sortedp
 projections array, which defines the indexes of the elements
in the original array, which should be sorted. This array must
be sortedpublic static void sort(short[] a, int[] p)
a
 original array which should be partly sortedp
 projections array, which defines the indexes of the elements
in the original array, which should be sorted. This array must
be sortedpublic static void sort(int[] a, int[] p)
a
 original array which should be partly sortedp
 projections array, which defines the indexes of the elements
in the original array, which should be sorted. This array must
be sortedpublic static void sort(long[] a, int[] p)
a
 original array which should be partly sortedp
 projections array, which defines the indexes of the elements
in the original array, which should be sorted. This array must
be sortedpublic static void sort(float[] a, int[] p)
a
 original array which should be partly sortedp
 projections array, which defines the indexes of the elements
in the original array, which should be sorted. This array must
be sortedpublic static void sort(double[] a, int[] p)
a
 original array which should be partly sortedp
 projections array, which defines the indexes of the elements
in the original array, which should be sorted. This array must
be sortedpublic static void sort(char[] a, int[] p)
a
 original array which should be partly sortedp
 projections array, which defines the indexes of the elements
in the original array, which should be sorted. This array must
be sorted