- java.lang.Object
-
- java.util.BitSet
-
- com.appslandia.common.utils.BitMap
-
- All Implemented Interfaces:
Serializable,Cloneable
public class BitMap extends BitSet
- Author:
- Loc Ha
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BitMapcopy()BitMapoff(int... indexes)BitMapoff(int fromIdx, int toIdxExclusive)BitMapoff(String charRangles)BitMapon(int... indexes)BitMapon(int fromIdx, int toIdxExclusive)BitMapon(String charRangles)BitMaptoggle(int... indexes)BitMaptoggle(int fromIdx, int toIdxExclusive)BitMaptoggle(String charRangles)-
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, previousClearBit, previousSetBit, set, set, set, set, size, stream, toByteArray, toLongArray, toString, valueOf, valueOf, valueOf, valueOf, xor
-
-
-
-
Constructor Detail
-
BitMap
public BitMap()
-
BitMap
public BitMap(int bits)
-
BitMap
public BitMap(BitSet bitSet)
-
-
Method Detail
-
on
public BitMap on(int fromIdx, int toIdxExclusive)
-
on
public BitMap on(int... indexes)
-
off
public BitMap off(int fromIdx, int toIdxExclusive)
-
off
public BitMap off(int... indexes)
-
toggle
public BitMap toggle(int fromIdx, int toIdxExclusive)
-
toggle
public BitMap toggle(int... indexes)
-
copy
public BitMap copy()
-
-