EnumType.EnumConstructor<T extends Codec>
Constructor and Description |
---|
StorageFunctionType(java.lang.Object value) |
StorageFunctionType(java.lang.Object value,
int index) |
Modifier and Type | Method and Description |
---|---|
Modules.MapType |
asMap()
The value as a mapped value
|
Modules.PlainType |
asType()
The value as a
org.polkadot.types.type value |
boolean |
isMap()
true if the storage entry is a map |
java.lang.String |
toString()
Returns the string representation of the value
|
eq, getEncodedLength, getType, index, isEmpty, isNone, isNull, isType, toHex, toJson, toNumber, toU8a, value, with
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getConstructorCodec, toU8a
public StorageFunctionType(java.lang.Object value, int index)
public StorageFunctionType(java.lang.Object value)
public boolean isMap()
true
if the storage entry is a map
public Modules.MapType asMap()
The value as a mapped value
public Modules.PlainType asType()
The value as a org.polkadot.types.type
value