public class DirectBitArrayR extends Object
Modifier and Type | Field and Description |
---|---|
protected static long |
DATA_OFFSET |
protected int |
dataLength_ |
protected static long |
MAX_BITS |
protected static long |
NUM_BITS_OFFSET |
protected long |
numBitsSet_ |
protected org.apache.datasketches.memory.WritableMemory |
wmem_ |
Modifier | Constructor and Description |
---|---|
protected |
DirectBitArrayR(int dataLength,
long storedNumBitsSet,
org.apache.datasketches.memory.Memory mem) |
Modifier and Type | Method and Description |
---|---|
protected long |
getLong(int arrayIndex) |
boolean |
hasMemory() |
boolean |
isDirect() |
protected boolean |
isDirty() |
boolean |
isReadOnly() |
protected static String |
printLong(long val) |
protected void |
setLong(int arrayIndex,
long value) |
String |
toString() |
protected static final long NUM_BITS_OFFSET
protected static final long DATA_OFFSET
protected final int dataLength_
protected final org.apache.datasketches.memory.WritableMemory wmem_
protected long numBitsSet_
protected static final long MAX_BITS
protected DirectBitArrayR(int dataLength, long storedNumBitsSet, org.apache.datasketches.memory.Memory mem)
protected boolean isDirty()
protected long getLong(int arrayIndex)
public boolean hasMemory()
public boolean isDirect()
public boolean isReadOnly()
protected void setLong(int arrayIndex, long value)
protected static String printLong(long val)
Copyright © 2015–2024 The Apache Software Foundation. All rights reserved.