Class KeyBitSet
- java.lang.Object
-
- com.exonum.binding.common.proofs.map.KeyBitSet
-
public final class KeyBitSet extends java.lang.Object
A key bit set.
-
-
Constructor Summary
Constructors Constructor Description KeyBitSet(byte[] key, int length)
Creates a new bit set.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
Checks if this key bit set is equal to the specified object.java.util.BitSet
getKeyBits()
int
getLength()
int
hashCode()
java.lang.String
toString()
-
-
-
Method Detail
-
getLength
public int getLength()
-
getKeyBits
public java.util.BitSet getKeyBits()
-
equals
public boolean equals(java.lang.Object o)
Checks if this key bit set is equal to the specified object.- Overrides:
equals
in classjava.lang.Object
- Parameters:
o
- an object to compare against- Returns:
- true if this key bit set is equal to the specified object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-