public interface HashableState
State
implementation.
Primarily, this is a marker interface to indicate that the object has implementations of
Object.hashCode()
and Object.equals(Object)
, but it does also require implementing the
s()
method, which should return the underlying state on which the hash and equals operations of this object are
performed.Modifier and Type | Method and Description |
---|---|
State |
s()
Returns the underlying source state that is hashed.
|