Enum FieldConsole.Type
- java.lang.Object
-
- java.lang.Enum<FieldConsole.Type>
-
- com.singularsys.extexamples.consoles.FieldConsole.Type
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<FieldConsole.Type>
- Enclosing class:
- FieldConsole
public static enum FieldConsole.Type extends java.lang.Enum<FieldConsole.Type>
Describes the type of Field used.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDescription()
static FieldConsole.Type
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static FieldConsole.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DOUBLE
public static final FieldConsole.Type DOUBLE
-
COMPLEX
public static final FieldConsole.Type COMPLEX
-
STANDARD
public static final FieldConsole.Type STANDARD
-
RATIONAL
public static final FieldConsole.Type RATIONAL
-
BIGDEC
public static final FieldConsole.Type BIGDEC
-
BIGINT
public static final FieldConsole.Type BIGINT
-
MIXED
public static final FieldConsole.Type MIXED
-
INTEGER
public static final FieldConsole.Type INTEGER
-
EXACTINT
public static final FieldConsole.Type EXACTINT
-
-
Method Detail
-
values
public static FieldConsole.Type[] 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 (FieldConsole.Type c : FieldConsole.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FieldConsole.Type 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
-
getDescription
public java.lang.String getDescription()
-
-