public static enum XenonPropertyDescription.Type extends Enum<XenonPropertyDescription.Type>
Enum Constant and Description |
---|
BOOLEAN
Properties of type
BOOLEAN can be either "true" or "false" . |
DOUBLE
Properties of type
DOUBLE can be converted into a 64-bit floating point number using
Double.valueOf(String) . |
INTEGER
Properties of type
INTEGER can be converted into a 32-bit signed integer using
Integer.valueOf(String) . |
LONG
Properties of type
LONG can be converted into a 64-bit signed long using
Long.valueOf(String) . |
SIZE
Properties of type
SIZE can be converted into a 64-bit signed long using
Long.valueOf(String) . |
STRING
Properties of type
STRING are directly stored in a String without conversion. |
Modifier and Type | Method and Description |
---|---|
static XenonPropertyDescription.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XenonPropertyDescription.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XenonPropertyDescription.Type BOOLEAN
BOOLEAN
can be either "true"
or "false"
.public static final XenonPropertyDescription.Type INTEGER
INTEGER
can be converted into a 32-bit signed integer using
Integer.valueOf(String)
.public static final XenonPropertyDescription.Type LONG
LONG
can be converted into a 64-bit signed long using
Long.valueOf(String)
.public static final XenonPropertyDescription.Type DOUBLE
DOUBLE
can be converted into a 64-bit floating point number using
Double.valueOf(String)
.public static final XenonPropertyDescription.Type STRING
STRING
are directly stored in a String without conversion.public static final XenonPropertyDescription.Type SIZE
SIZE
can be converted into a 64-bit signed long using
Long.valueOf(String)
. In addition, the postfixes "K"
, "M"
and "G"
may
be used to multiply the value by 1024
, 1024*1024
, or 1024*1024*1024
respectively.public static XenonPropertyDescription.Type[] values()
for (XenonPropertyDescription.Type c : XenonPropertyDescription.Type.values()) System.out.println(c);
public static XenonPropertyDescription.Type valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is null