Class Hash

java.lang.Object
de.team33.patterns.hashing.pandia.Hash

public class Hash extends Object
Represents a hash value.
  • Method Details

    • bytes

      public final byte[] bytes()
      Returns the byte array representing this hash value.
    • toBigInteger

      public final BigInteger toBigInteger()
      Returns a non-negative BigInteger representing this hash value.
    • toHexString

      public final String toHexString()
      Returns a hexadecimal String representation of this hash value.
    • toString

      public final String toString(String chars)
      Returns a String representation of this hash value using the given chars as digits.
    • toString

      public final String toString()
      Overrides:
      toString in class Object
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class Object