-
public class LinkageHash
-
-
Field Summary
Fields Modifier and Type Field Description private Array<byte>
automationID
private byte
headHash
private Array<byte>
bodyHash
-
Constructor Summary
Constructors Constructor Description LinkageHash(Array<byte> automationID, byte headHash, Array<byte> bodyHash)
-
Method Summary
Modifier and Type Method Description Array<byte>
getAutomationID()
void
setAutomationID(Array<byte> automationID)
byte
getHeadHash()
void
setHeadHash(byte headHash)
Array<byte>
getBodyHash()
void
setBodyHash(Array<byte> bodyHash)
boolean
isLinkageOpen()
Determines whether the linkage configuration corresponding to the hash is enabled. -
-
Method Detail
-
getAutomationID
Array<byte> getAutomationID()
-
setAutomationID
void setAutomationID(Array<byte> automationID)
-
getHeadHash
byte getHeadHash()
-
setHeadHash
void setHeadHash(byte headHash)
-
getBodyHash
Array<byte> getBodyHash()
-
setBodyHash
void setBodyHash(Array<byte> bodyHash)
-
isLinkageOpen
boolean isLinkageOpen()
Determines whether the linkage configuration corresponding to the hash is enabled.The judgment is based on whether the highest bit of headHash is 1
-
-
-
-