Package org.polkadot.types.codec
Enum CreateType.TypeDefInfo
- java.lang.Object
-
- java.lang.Enum<CreateType.TypeDefInfo>
-
- org.polkadot.types.codec.CreateType.TypeDefInfo
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<CreateType.TypeDefInfo>,java.lang.constant.Constable
- Enclosing class:
- CreateType
public static enum CreateType.TypeDefInfo extends java.lang.Enum<CreateType.TypeDefInfo>
-
-
Method Summary
Modifier and Type Method Description static CreateType.TypeDefInfovalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CreateType.TypeDefInfo[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Compact
public static final CreateType.TypeDefInfo Compact
-
Enum
public static final CreateType.TypeDefInfo Enum
-
Option
public static final CreateType.TypeDefInfo Option
-
Plain
public static final CreateType.TypeDefInfo Plain
-
Struct
public static final CreateType.TypeDefInfo Struct
-
Tuple
public static final CreateType.TypeDefInfo Tuple
-
Vector
public static final CreateType.TypeDefInfo Vector
-
Linkage
public static final CreateType.TypeDefInfo Linkage
-
-
Method Detail
-
values
public static CreateType.TypeDefInfo[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CreateType.TypeDefInfo valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-