public class Sorting extends Object
Constructor and Description |
---|
Sorting() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isSorted(long[] x) |
static boolean |
isSorted(long[] x,
int fromIndex,
int toIndex) |
static void |
mergesort(long[] x,
int[] aux,
int fromIndex,
int toIndex) |
static void |
quicksort(long[] x,
int[] aux,
int fromIndex,
int toIndex) |
public static boolean isSorted(long[] x)
public static boolean isSorted(long[] x, int fromIndex, int toIndex)
public static void mergesort(long[] x, int[] aux, int fromIndex, int toIndex)
public static void quicksort(long[] x, int[] aux, int fromIndex, int toIndex)
Copyright © 2013 Metron, Inc.. All rights reserved.