Package com.appslandia.common.utils
Class BitMap
- java.lang.Object
-
- java.util.BitSet
-
- com.appslandia.common.utils.BitMap
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable
public class BitMap extends java.util.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(java.lang.String charRangles)BitMapon(int... indexes)BitMapon(int fromIdx, int toIdxExclusive)BitMapon(java.lang.String charRangles)BitMaptoggle(int... indexes)BitMaptoggle(int fromIdx, int toIdxExclusive)BitMaptoggle(java.lang.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
-
-
-
-
Method Detail
-
on
public BitMap on(int fromIdx, int toIdxExclusive)
-
on
public BitMap on(int... indexes)
-
on
public BitMap on(java.lang.String charRangles)
-
off
public BitMap off(int fromIdx, int toIdxExclusive)
-
off
public BitMap off(int... indexes)
-
off
public BitMap off(java.lang.String charRangles)
-
toggle
public BitMap toggle(int fromIdx, int toIdxExclusive)
-
toggle
public BitMap toggle(int... indexes)
-
toggle
public BitMap toggle(java.lang.String charRangles)
-
copy
public BitMap copy()
-
-