Package | Description |
---|---|
com.alexkasko.unsafe.offheaplong |
Long sized off-heap collections of longs with sorting and searching support
|
Modifier and Type | Interface and Description |
---|---|
interface |
OffHeapLongAddressable
Interface for off-heap collections with long elements.
|
Modifier and Type | Class and Description |
---|---|
class |
OffHeapLongArray
Implementation of array of long using
OffHeapMemory . |
class |
OffHeapLongArrayList
Implementation of array-list of long using
OffHeapMemory . |
Modifier and Type | Method and Description |
---|---|
static long |
OffHeapLongBinarySearch.binarySearch(OffHeapAddressable collection,
long value)
Performs a binary search for
value in the ascending sorted off-heap collection. |
static long |
OffHeapLongBinarySearch.binarySearch(OffHeapAddressable collection,
long startIndex,
long endIndex,
long value)
Performs a binary search for
value in the ascending sorted off-heap collection,
in the range specified by fromIndex (inclusive) and toIndex (exclusive). |
static void |
OffHeapLongBinarySearch.binarySearchRange(OffHeapAddressable collection,
long startIndex,
long endIndex,
long value,
OffHeapLongBinarySearch.IndexRange out)
Performs a binary search for
value in the ascending sorted off-heap collection. |
static void |
OffHeapLongBinarySearch.binarySearchRange(OffHeapAddressable collection,
long value,
OffHeapLongBinarySearch.IndexRange out)
Performs a binary search for
value in the ascending sorted off-heap collection. |
Copyright © 2014. All Rights Reserved.