public abstract class MemArrayQuickSorter extends QuickSorter
QuickSorter
implementations on a memory block accessed by a
MemoryAccessor
.Modifier and Type | Field and Description |
---|---|
protected long |
baseAddress |
protected MemoryAccessor |
mem |
Modifier | Constructor and Description |
---|---|
protected |
MemArrayQuickSorter(MemoryAccessor mem,
long baseAddress) |
Modifier and Type | Method and Description |
---|---|
MemArrayQuickSorter |
gotoAddress(long baseAddress)
Sets the base address to the supplied address.
|
isGreaterThanPivot, isLessThanPivot, loadPivot, sort, swap
protected final MemoryAccessor mem
protected long baseAddress
protected MemArrayQuickSorter(MemoryAccessor mem, long baseAddress)
mem
- the MemoryAccessor
to usebaseAddress
- the initial base address of the block to sortpublic MemArrayQuickSorter gotoAddress(long baseAddress)
baseAddress
- the supplied address.this
the base address.Copyright © 2016 Hazelcast, Inc.. All Rights Reserved.