com.lmonson.hash.bloom
Class RamBitStore

java.lang.Object
  extended by com.lmonson.hash.bloom.RamBitStore
All Implemented Interfaces:
BitStore

public class RamBitStore
extends java.lang.Object
implements BitStore


Constructor Summary
RamBitStore(int numberOfBits)
           
 
Method Summary
 boolean getBit(int idx)
           
 int getMaxBits()
           
 void setBit(int idx)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RamBitStore

public RamBitStore(int numberOfBits)
Method Detail

setBit

public void setBit(int idx)
Specified by:
setBit in interface BitStore

getBit

public boolean getBit(int idx)
Specified by:
getBit in interface BitStore

getMaxBits

public int getMaxBits()
Specified by:
getMaxBits in interface BitStore