Package one.nio.util
Class QuickSelect
- java.lang.Object
-
- one.nio.util.QuickSelect
-
public class QuickSelect extends Object
-
-
Constructor Summary
Constructors Constructor Description QuickSelect()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static longselect(long[] array, int k)static longselect(long[] array, int k, int left, int right)static <T> Tselect(T[] array, int k, Comparator<T> comparator)static <T> Tselect(T[] array, int k, Comparator<T> comparator, int left, int right)
-
-
-
Method Detail
-
select
public static long select(long[] array, int k)
-
select
public static long select(long[] array, int k, int left, int right)
-
select
public static <T> T select(T[] array, int k, Comparator<T> comparator)
-
select
public static <T> T select(T[] array, int k, Comparator<T> comparator, int left, int right)
-
-