org.apache.cassandra.utils.obs
Interface IBitSet

All Superinterfaces:
java.io.Closeable
All Known Implementing Classes:
OffHeapBitSet, OpenBitSet

public interface IBitSet
extends java.io.Closeable


Method Summary
 long capacity()
           
 void clear()
           
 void clear(long index)
          clears the bit.
 boolean get(long index)
          Returns true or false for the specified bit index.
 void serialize(java.io.DataOutput dos)
           
 long serializedSize(TypeSizes type)
           
 void set(long index)
          Sets the bit at the specified index.
 
Methods inherited from interface java.io.Closeable
close
 

Method Detail

capacity

long capacity()

get

boolean get(long index)
Returns true or false for the specified bit index. The index should be less than the capacity.


set

void set(long index)
Sets the bit at the specified index. The index should be less than the capacity.


clear

void clear(long index)
clears the bit. The index should be less than the capacity.


serialize

void serialize(java.io.DataOutput dos)
               throws java.io.IOException
Throws:
java.io.IOException

serializedSize

long serializedSize(TypeSizes type)

clear

void clear()


Copyright © 2012 The Apache Software Foundation