public enum OpaqueDataType extends Enum<OpaqueDataType>
| Enum Constant and Description |
|---|
Unknown |
| Modifier and Type | Method and Description |
|---|---|
static OpaqueDataType |
from(int code) |
static OpaqueDataType |
from(String name) |
int |
getCode() |
String |
toString() |
static OpaqueDataType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OpaqueDataType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OpaqueDataType Unknown
public static OpaqueDataType[] values()
for (OpaqueDataType c : OpaqueDataType.values()) System.out.println(c);
public static OpaqueDataType 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 nullpublic int getCode()
public String toString()
toString in class Enum<OpaqueDataType>public static OpaqueDataType from(String name) throws IllegalArgumentException
IllegalArgumentExceptionpublic static OpaqueDataType from(int code) throws IllegalArgumentException
IllegalArgumentExceptionCopyright © 2023. All rights reserved.