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