Class KeyBitSet
java.lang.Object
com.exonum.binding.common.proofs.map.KeyBitSet
public final class KeyBitSet extends Object
A key bit set.
-
Constructor Summary
Constructors Constructor Description KeyBitSet(byte[] key, int length)
Creates a new bit set. -
Method Summary
-
Constructor Details
-
KeyBitSet
public KeyBitSet(byte[] key, int length)Creates a new bit set.- Parameters:
key
- key byteslength
- a length in bits, i.e., the number of significant bits in key array
-
-
Method Details
-
getLength
public int getLength() -
getKeyBits
-
equals
Checks if this key bit set is equal to the specified object. -
hashCode
public int hashCode() -
toString
-