Package | Description |
---|---|
net.bramp.unsafe | |
net.bramp.unsafe.sort |
Modifier and Type | Class and Description |
---|---|
class |
UnsafeArrayList<T>
ArrayList implemented using Unsafe operations
|
Modifier and Type | Method and Description |
---|---|
static <E extends Comparable<E>> |
InplaceQuickSort.partition(InplaceList<E> array,
int left,
int right)
Divides array from pivot, left side contains elements less than
Pivot while right side contains elements greater than pivot.
|
static <E extends Comparable<E>> |
InplaceQuickSort.quickSort(InplaceList<E> array)
Sorts given array using QuickSort
|
static <E extends Comparable<E>> |
InplaceQuickSort.recursiveQuickSort(InplaceList<E> array,
int startIdx,
int endIdx)
Recursive quicksort logic.
|
static <T> void |
Shuffle.shuffleInplace(InplaceList<T> list,
Random rnd) |
Copyright © 2015. All rights reserved.