Package one.empty3.io
Enum ObjectWithProperties.ClassTypes
- java.lang.Object
-
- java.lang.Enum<ObjectWithProperties.ClassTypes>
-
- one.empty3.io.ObjectWithProperties.ClassTypes
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ObjectWithProperties.ClassTypes>
- Enclosing class:
- ObjectWithProperties
public static enum ObjectWithProperties.ClassTypes extends java.lang.Enum<ObjectWithProperties.ClassTypes>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AtomicBoolean
AtomicChar
AtomicDouble
AtomicInt
String
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ObjectWithProperties.ClassTypes
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ObjectWithProperties.ClassTypes[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
AtomicInt
public static final ObjectWithProperties.ClassTypes AtomicInt
-
AtomicDouble
public static final ObjectWithProperties.ClassTypes AtomicDouble
-
AtomicChar
public static final ObjectWithProperties.ClassTypes AtomicChar
-
AtomicBoolean
public static final ObjectWithProperties.ClassTypes AtomicBoolean
-
String
public static final ObjectWithProperties.ClassTypes String
-
-
Method Detail
-
values
public static ObjectWithProperties.ClassTypes[] 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 (ObjectWithProperties.ClassTypes c : ObjectWithProperties.ClassTypes.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ObjectWithProperties.ClassTypes 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
-
-