org.joni
Class BitSet

java.lang.Object
  extended by org.joni.BitSet

public final class BitSet
extends Object


Field Summary
static int SINGLE_BYTE_SIZE
           
 
Constructor Summary
BitSet()
           
 
Method Summary
 void and(BitSet other)
           
 boolean at(int pos)
           
 void clear()
           
 void clear(int pos)
           
 void copy(BitSet other)
           
 void invert()
           
 void invert(int pos)
           
 void invertTo(BitSet to)
           
 boolean isEmpty()
           
 int numOn()
           
 void or(BitSet other)
           
 void set(int pos)
           
 void setAll()
           
 void setRange(int from, int to)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SINGLE_BYTE_SIZE

public static final int SINGLE_BYTE_SIZE
See Also:
Constant Field Values
Constructor Detail

BitSet

public BitSet()
Method Detail

toString

public String toString()
Overrides:
toString in class Object

at

public boolean at(int pos)

set

public void set(int pos)

clear

public void clear(int pos)

invert

public void invert(int pos)

clear

public void clear()

isEmpty

public boolean isEmpty()

setRange

public void setRange(int from,
                     int to)

setAll

public void setAll()

invert

public void invert()

invertTo

public void invertTo(BitSet to)

and

public void and(BitSet other)

or

public void or(BitSet other)

copy

public void copy(BitSet other)

numOn

public int numOn()


Copyright © 2012. All Rights Reserved.