Package org.polkadot.types.metadata.v0
Class Modules.StorageFunctionType
- java.lang.Object
-
- org.polkadot.types.codec.Base<Codec>
-
- org.polkadot.types.codec.EnumType
-
- org.polkadot.types.metadata.v0.Modules.StorageFunctionType
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.polkadot.types.codec.EnumType
EnumType.EnumConstructor<T extends Codec>
-
-
Constructor Summary
Constructors Constructor Description StorageFunctionType(java.lang.Object value)StorageFunctionType(java.lang.Object value, int index)
-
Method Summary
Modifier and Type Method Description Modules.MapTypeasMap()The value as a mapped valueModules.PlainTypeasType()The value as aorg.polkadot.types.typevaluebooleanisMap()`true` if the storage entry is a mapjava.lang.StringtoString()Returns the string representation of the value-
Methods inherited from class org.polkadot.types.codec.EnumType
eq, getEncodedLength, getType, index, isEmpty, isNone, isNull, isType, toHex, toJson, toNumber, toU8a, value, with
-
-
-
-
Method Detail
-
isMap
public boolean isMap()
`true` if the storage entry is a map
-
asMap
public Modules.MapType asMap()
The value as a mapped value
-
asType
public Modules.PlainType asType()
The value as aorg.polkadot.types.typevalue
-
-