Package org.ldk.enums
Enum COption_NoneZ
- java.lang.Object
-
- java.lang.Enum<COption_NoneZ>
-
- org.ldk.enums.COption_NoneZ
-
- All Implemented Interfaces:
Serializable
,Comparable<COption_NoneZ>
public enum COption_NoneZ extends Enum<COption_NoneZ>
An enum which can either contain a or not
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LDKCOption_NoneZ_None
When we're in this state, this COption_NoneZ contains nothingLDKCOption_NoneZ_Some
When we're in this state, this COption_NoneZ contains a
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static COption_NoneZ
valueOf(String name)
Returns the enum constant of this type with the specified name.static COption_NoneZ[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LDKCOption_NoneZ_Some
public static final COption_NoneZ LDKCOption_NoneZ_Some
When we're in this state, this COption_NoneZ contains a
-
LDKCOption_NoneZ_None
public static final COption_NoneZ LDKCOption_NoneZ_None
When we're in this state, this COption_NoneZ contains nothing
-
-
Method Detail
-
values
public static COption_NoneZ[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (COption_NoneZ c : COption_NoneZ.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static COption_NoneZ valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-