Package org.graphdrawing.graphml
Enum KeyTypeType
- java.lang.Object
-
- java.lang.Enum<KeyTypeType>
-
- org.graphdrawing.graphml.KeyTypeType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<KeyTypeType>
public enum KeyTypeType extends java.lang.Enum<KeyTypeType>
Java class for key.type.type.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="key.type.type"> <restriction base="{http://www.w3.org/2001/XMLSchema}NMTOKEN"> <enumeration value="boolean"/> <enumeration value="int"/> <enumeration value="long"/> <enumeration value="float"/> <enumeration value="double"/> <enumeration value="string"/> </restriction> </simpleType>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static KeyTypeType
fromValue(java.lang.String v)
java.lang.String
value()
static KeyTypeType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static KeyTypeType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BOOLEAN
public static final KeyTypeType BOOLEAN
-
INT
public static final KeyTypeType INT
-
LONG
public static final KeyTypeType LONG
-
FLOAT
public static final KeyTypeType FLOAT
-
DOUBLE
public static final KeyTypeType DOUBLE
-
STRING
public static final KeyTypeType STRING
-
-
Method Detail
-
values
public static KeyTypeType[] 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 (KeyTypeType c : KeyTypeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static KeyTypeType 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
-
value
public java.lang.String value()
-
fromValue
public static KeyTypeType fromValue(java.lang.String v)
-
-