org.alliance.core.file.blockstorage
Class BlockMask

java.lang.Object
  extended by java.util.BitSet
      extended by org.alliance.core.file.blockstorage.BlockMask
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class BlockMask
extends java.util.BitSet

Created by IntelliJ IDEA. User: maciek Date: 2006-jan-22 Time: 19:19:02 To change this template use File | Settings | File Templates.

See Also:
Serialized Form

Constructor Summary
BlockMask()
           
BlockMask(int nbits, boolean allSet)
           
 
Method Summary
static BlockMask createFrom(Packet data)
           
 void serializeTo(Packet p)
           
 
Methods inherited from class java.util.BitSet
and, andNot, cardinality, clear, clear, clear, clone, equals, flip, flip, get, get, hashCode, intersects, isEmpty, length, nextClearBit, nextSetBit, or, set, set, set, set, size, toString, xor
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BlockMask

public BlockMask()

BlockMask

public BlockMask(int nbits,
                 boolean allSet)
Method Detail

serializeTo

public void serializeTo(Packet p)

createFrom

public static BlockMask createFrom(Packet data)
                            throws java.io.IOException
Throws:
java.io.IOException