de.fau.cs.www8.jadeowlcodec.tool
Class SparseBitField
java.lang.Object
de.fau.cs.www8.jadeowlcodec.tool.AbsBitField
de.fau.cs.www8.jadeowlcodec.tool.SparseBitField
- All Implemented Interfaces:
- BitField, java.lang.Cloneable
public class SparseBitField
- extends AbsBitField
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SparseBitField
public SparseBitField(int size,
int[] sets)
SparseBitField
public SparseBitField(int size,
int set)
get
public boolean get(int i)
set
public void set(int i,
boolean value)
size
public int size()
trueCount
public int trueCount()
clone
public SparseBitField clone()
- Specified by:
clone in interface BitField- Specified by:
clone in class AbsBitField
invert
public void invert()
Copyright 2007 Moritz Goeb, Bernhard Schiemann, Ulf Schreiber of Chair of Artificial Intelligence, University of Erlangen-Nuremberg