com.evernote.edam.util
Class BitSet

java.lang.Object
  extended by com.evernote.edam.util.BitSet
All Implemented Interfaces:
java.io.Serializable

public class BitSet
extends java.lang.Object
implements java.io.Serializable

Minimal BitSet implementation to support Evernote's EDAM protocol. Not a general replacement for java.util.BitMap, but this version will work for our classes, and will be serializable over Google Web Toolkit.

See Also:
Serialized Form

Constructor Summary
BitSet()
           
BitSet(int size)
           
 
Method Summary
 void clear()
           
 void clear(int index)
           
 boolean get(int index)
           
 void or(BitSet other)
           
 void set(int index, boolean value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BitSet

public BitSet()

BitSet

public BitSet(int size)
Method Detail

clear

public void clear()

or

public void or(BitSet other)

clear

public void clear(int index)

get

public boolean get(int index)

set

public void set(int index,
                boolean value)