public static final class KeyForType.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_ALL 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_ALL |
(package private) static int |
INT_EDGE |
(package private) static int |
INT_ENDPOINT |
(package private) static int |
INT_GRAPH |
(package private) static int |
INT_GRAPHML |
(package private) static int |
INT_HYPEREDGE |
(package private) static int |
INT_NODE |
(package private) static int |
INT_PORT |
private static long |
serialVersionUID |
static org.apache.xmlbeans.StringEnumAbstractBase.Table |
table |
| Modifier and Type | Method and Description |
|---|---|
static KeyForType.Enum |
forInt(int i)
Returns the enum value corresponding to an int, or null if none.
|
static KeyForType.Enum |
forString(String s)
Returns the enum value for a string, or null if none.
|
private Object |
readResolve() |
static final int INT_ALL
static final int INT_GRAPHML
static final int INT_GRAPH
static final int INT_NODE
static final int INT_EDGE
static final int INT_HYPEREDGE
static final int INT_PORT
static final int INT_ENDPOINT
public static final org.apache.xmlbeans.StringEnumAbstractBase.Table table
private static final long serialVersionUID
private Enum(String s, int i)
public static KeyForType.Enum forString(String s)
public static KeyForType.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.