All Superinterfaces:
Ops

public interface Hasher extends Ops
Hash operations. Note that this is different from Vanilla codecs, where this instead acts as a (re-usable) hasher directly rather than each method having self-contained return values.
  • Method Details

    • hash

      int hash()
      Returns the current hash value.
      Returns:
      the current hash value
    • reset

      void reset()
      Resets the hasher to its initial state.