Package org.starcoin.serde.format
Class VariantFormat
java.lang.Object
org.starcoin.serde.format.VariantFormat
- All Implemented Interfaces:
IReferenceContainerType
- Direct Known Subclasses:
VariantFormat.NewType,VariantFormat.Struct,VariantFormat.Tuple,VariantFormat.Unit
public abstract class VariantFormat extends Object implements IReferenceContainerType
Description of a variant in an enum.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVariantFormat.NewTypeA variant with a single unnamed parameter, e.g.static classVariantFormat.StructA struct with named parameters, e.g.static classVariantFormat.TupleA struct with several unnamed parameters, e.g.static classVariantFormat.UnitA variant without parameters, e.g. -
Constructor Summary
Constructors Constructor Description VariantFormat() -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.starcoin.serde.format.IReferenceContainerType
referencedContainerTypeNames
-
Constructor Details
-
VariantFormat
public VariantFormat()
-