public class IntIndexTimSort
extends java.lang.Object
flyingSort(int[], de.ipcon.tools.IntIndexComparator, int)| Modifier and Type | Method and Description |
|---|---|
static void |
flyingSort(int[] a,
IntIndexComparator c,
int knownSortedUntil)
'Flying start' version of @see #sort
|
static void |
sort(int[] a,
IntIndexComparator c)
Sorts a given int array with the help of the IntIndexComparator.
|
public static void sort(int[] a,
IntIndexComparator c)
a - the array to be sortedc - the comparator to usepublic static void flyingSort(int[] a,
IntIndexComparator c,
int knownSortedUntil)
a - the array to be sortedc - the comparator to useknownSortedUntil - the index to which a is presortedTimSort.flyingSort(T[], java.util.Comparator<? super T>, int)Copyright © 2000-2025 OAshi S.à r.l. All Rights Reserved.