EnumType.EnumConstructor<T extends Codec>
Constructor and Description |
---|
DigestItem(java.lang.Object value) |
Modifier and Type | Method and Description |
---|---|
Vector<AuthorityId> |
getAsAuthoritiesChange()
Returns the item as a AuthoritiesChange
|
Digest.ChangesTrieRoot |
getAsChangesTrieRoot()
Returns the item as a ChangesTrieRoot
|
Digest.Consensus |
getAsConsensus() |
Digest.Other |
getAsOther()
Returns the item as a Other
|
Digest.Seal |
getAsSeal()
Returns the item as a Seal
|
boolean |
isConsensus()
Returns true on Consensus
|
boolean |
isSeal()
Returns true on Seal
|
eq, getEncodedLength, getType, index, isEmpty, isNone, isNull, isType, toHex, toJson, toNumber, toString, toU8a, value, with
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getConstructorCodec, toU8a
public Vector<AuthorityId> getAsAuthoritiesChange()
Returns the item as a AuthoritiesChange
public Digest.ChangesTrieRoot getAsChangesTrieRoot()
Returns the item as a ChangesTrieRoot
public Digest.Consensus getAsConsensus()
public Digest.Other getAsOther()
Returns the item as a Other
public Digest.Seal getAsSeal()
Returns the item as a Seal
public boolean isConsensus()
Returns true on Consensus
public boolean isSeal()
Returns true on Seal