public static final class KeyTypeType.Enum
extends org.apache.xmlbeans.StringEnumAbstractBase
enum.toString(); // returns the string value of the enum enum.intValue(); // returns an int value, useful for switches // e.g., case Enum.INT_BOOLEAN Enum.forString(s); // returns the enum value for a string Enum.forInt(i); // returns the enum value for an intEnumeration objects are immutable singleton objects that can be compared using == object equality. They have no public constructor. See the constants defined within this class for all the valid values.
| Modifier and Type | Field and Description |
|---|---|
(package private) static int |
INT_BOOLEAN |
(package private) static int |
INT_DOUBLE |
(package private) static int |
INT_FLOAT |
(package private) static int |
INT_INT |
(package private) static int |
INT_LONG |
(package private) static int |
INT_STRING |
private static long |
serialVersionUID |
static org.apache.xmlbeans.StringEnumAbstractBase.Table |
table |
| Modifier and Type | Method and Description |
|---|---|
static KeyTypeType.Enum |
forInt(int i)
Returns the enum value corresponding to an int, or null if none.
|
static KeyTypeType.Enum |
forString(String s)
Returns the enum value for a string, or null if none.
|
private Object |
readResolve() |
static final int INT_BOOLEAN
static final int INT_INT
static final int INT_LONG
static final int INT_FLOAT
static final int INT_DOUBLE
static final int INT_STRING
public static final org.apache.xmlbeans.StringEnumAbstractBase.Table table
private static final long serialVersionUID
private Enum(String s, int i)
public static KeyTypeType.Enum forString(String s)
public static KeyTypeType.Enum forInt(int i)
private Object readResolve()
Copyright © 2014–2023 Martin Luther University Halle-Wittenberg, Institute of Computer Science, Pattern Recognition and Bioinformatics. All rights reserved.