public class MemoReturnHash extends Memo
Constructor and Description |
---|
MemoReturnHash(byte[] bytes) |
MemoReturnHash(java.lang.String hexString) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
byte[] |
getBytes()
32 bytes long array contained in this memo.
|
java.lang.String |
getHexValue()
Returns hex representation of bytes contained in this memo.
|
int |
hashCode() |
java.lang.String |
toString() |
public MemoReturnHash(byte[] bytes)
public MemoReturnHash(java.lang.String hexString)
public boolean equals(java.lang.Object o)
public int hashCode()
public java.lang.String getHexValue()
Example:
MemoHash memo = new MemoHash("e98869bba8bce08c10b78406202127f3888c25454cd37b02600862452751f526");
memo.getHexValue(); // e98869bba8bce08c10b78406202127f3888c25454cd37b02600862452751f526
public java.lang.String toString()
toString
in class java.lang.Object
public byte[] getBytes()