| Constructor and Description |
|---|
OffHeapBitSet(long numBits) |
| Modifier and Type | Method and Description |
|---|---|
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() |
void |
serialize(java.io.DataOutput out) |
long |
serializedSize(TypeSizes type) |
void |
set(long index)
Sets the bit at the specified index.
|
void |
set(long offset,
byte b) |
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(TypeSizes type)
serializedSize in interface IBitSetpublic static OffHeapBitSet deserialize(java.io.DataInput in) throws java.io.IOException
java.io.IOExceptionpublic void close()
throws java.io.IOException
close in interface java.io.Closeableclose in interface java.lang.AutoCloseablejava.io.IOExceptionpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.ObjectCopyright © 2014 The Apache Software Foundation