Class Hash256
- All Implemented Interfaces:
Serializable,Comparable<Wrapper<String>>
@ParametersAreNonnullByDefault
@Generated("org.immutables.processor.ProxyProcessor")
@Immutable
@CheckReturnValue
public final class Hash256
extends Wrapper<String>
A wrapped
String containing the Hex representation of a 256-bit Hash.- See Also:
-
Method Summary
-
Method Details
-
value
The wrapped value. -
of
Construct a new immutableHash256instance.- Parameters:
value- The value for thevalueattribute- Returns:
- An immutable Hash256 instance
-
toString
-
validateLength
@Check public void validateLength()Validates that aHash256's value's length is equal to 64 characters. -
equals
-
hashCode
public int hashCode()
-