Class Hash
java.lang.Object
de.team33.patterns.hashing.pandia.Hash
Represents a hash value.
-
Method Summary
Modifier and TypeMethodDescriptionfinal byte[]bytes()Returns the byte array representing this hash value.final booleanfinal inthashCode()final BigIntegerReturns a non-negativeBigIntegerrepresenting this hash value.final StringReturns a hexadecimalStringrepresentation of this hash value.final StringtoString()final StringReturns aStringrepresentation of this hash value using the given chars as digits.
-
Method Details
-
bytes
public final byte[] bytes()Returns the byte array representing this hash value. -
toBigInteger
Returns a non-negativeBigIntegerrepresenting this hash value. -
toHexString
Returns a hexadecimalStringrepresentation of this hash value. -
toString
Returns aStringrepresentation of this hash value using the given chars as digits. -
toString
-
hashCode
public final int hashCode() -
equals
-