Class ControlNumber
- java.lang.Object
-
- java.util.BitSet
-
- de.pseudonymisierung.controlnumbers.ControlNumber
-
- All Implemented Interfaces:
Serializable,Cloneable
public class ControlNumber extends BitSet
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ControlNumber(int length)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclear(int bitIndex)voidclear(int fromIndex, int toIndex)static ControlNumberfromBitString(String bitString)intlength()voidset(int bitIndex)voidset(int fromIndex, int toIndex)StringtoBitString()-
Methods inherited from class java.util.BitSet
and, andNot, cardinality, clear, clone, equals, flip, flip, get, get, hashCode, intersects, isEmpty, nextClearBit, nextSetBit, or, previousClearBit, previousSetBit, set, set, size, stream, toByteArray, toLongArray, toString, valueOf, valueOf, valueOf, valueOf, xor
-
-
-
-
Method Detail
-
set
public void set(int bitIndex) throws IndexOutOfBoundsException- Overrides:
setin classBitSet- Throws:
IndexOutOfBoundsException
-
set
public void set(int fromIndex, int toIndex) throws IndexOutOfBoundsException- Overrides:
setin classBitSet- Throws:
IndexOutOfBoundsException
-
clear
public void clear(int bitIndex) throws IndexOutOfBoundsException- Overrides:
clearin classBitSet- Throws:
IndexOutOfBoundsException
-
clear
public void clear(int fromIndex, int toIndex) throws IndexOutOfBoundsException- Overrides:
clearin classBitSet- Throws:
IndexOutOfBoundsException
-
toBitString
public String toBitString()
-
fromBitString
public static ControlNumber fromBitString(String bitString)
-
-