Class KeyBitSet
- java.lang.Object
-
- com.exonum.binding.common.proofs.map.KeyBitSet
-
public final class KeyBitSet extends java.lang.ObjectA 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 booleanequals(java.lang.Object o)Checks if this key bit set is equal to the specified object.java.util.BitSetgetKeyBits()intgetLength()inthashCode()java.lang.StringtoString()
-
-
-
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:
equalsin 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:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-