| Constructor and Description |
|---|
OffHeapBitSet(long numBits) |
| Modifier and Type | Method and Description |
|---|---|
void |
addTo(Ref.IdentityCollection identities) |
long |
capacity() |
void |
clear() |
void |
clear(long index)
clears the bit.
|
void |
close() |
static OffHeapBitSet |
deserialize(java.io.DataInput in) |
boolean |
equals(java.lang.Object o) |
boolean |
get(long index)
Returns true or false for the specified bit index.
|
int |
hashCode() |
long |
offHeapSize()
Returns the amount of memory in bytes used off heap.
|
void |
serialize(java.io.DataOutput out) |
long |
serializedSize() |
void |
set(long index)
Sets the bit at the specified index.
|
void |
set(long offset,
byte b) |
java.lang.String |
toString() |
public long offHeapSize()
IBitSetoffHeapSize in interface IBitSetpublic void addTo(Ref.IdentityCollection identities)
public boolean get(long index)
IBitSetpublic void set(long index)
IBitSetpublic void set(long offset,
byte b)
public void clear(long index)
IBitSetpublic void serialize(java.io.DataOutput out)
throws java.io.IOException
public long serializedSize()
serializedSize in interface IBitSetpublic static OffHeapBitSet deserialize(java.io.DataInput in) throws java.io.IOException
java.io.IOExceptionpublic void close()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2015 The Apache Software Foundation