Package org.polkadot.types.codec
Class Linkage<T extends Codec>
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<K,V>
-
- java.util.LinkedHashMap<java.lang.String,Codec>
-
- org.polkadot.types.codec.Struct
-
- org.polkadot.types.codec.Linkage<T>
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,java.util.Map<java.lang.String,Codec>,Codec
public class Linkage<T extends Codec> extends Struct
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classLinkage.LinkageResult
-
Constructor Summary
Constructors Constructor Description Linkage(Types.ConstructorCodec type, java.lang.Object value)
-
Method Summary
Modifier and Type Method Description Option<T>getNext()Option<T>getPrevious()static <O extends Codec>
Types.ConstructorCodec<Linkage>withKey(Types.ConstructorCodec type)-
Methods inherited from class org.polkadot.types.codec.Struct
builder, eq, getEncodedLength, getField, isEmpty, toArray, toHex, toJson, toString, toU8a, with
-
Methods inherited from class java.util.LinkedHashMap
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, removeEldestEntry, replaceAll, values
-
Methods inherited from class java.util.HashMap
clone, compute, computeIfAbsent, computeIfPresent, containsKey, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
-
-
-
-
Constructor Detail
-
Linkage
public Linkage(Types.ConstructorCodec type, java.lang.Object value)
-
-
Method Detail
-
withKey
public static <O extends Codec> Types.ConstructorCodec<Linkage> withKey(Types.ConstructorCodec type)
-
-