Package net.royalur.lut.store
Class OrderedUInt32Buffer
java.lang.Object
net.royalur.lut.store.OrderedUInt32Buffer
A sorted buffer of uint32 values. Values are sorted as they are added.
-
Constructor Summary
ConstructorDescriptionOrderedUInt32Buffer
(int capacity) OrderedUInt32Buffer
(int capacity, int entryCount) -
Method Summary
-
Constructor Details
-
OrderedUInt32Buffer
public OrderedUInt32Buffer(int capacity, int entryCount) -
OrderedUInt32Buffer
public OrderedUInt32Buffer(int capacity)
-
-
Method Details
-
isFull
public boolean isFull() -
getBuffer
-
getEntryCount
public int getEntryCount() -
add
public void add(int value) -
get
public int get(int index) -
compress
-