public static enum JSonModel.KeyType extends Enum<JSonModel.KeyType>
| Enum Constant and Description |
|---|
OBJECT |
OBJECT_ARRAY |
STRING |
STRING_ARRAY |
| Modifier and Type | Method and Description |
|---|---|
int |
getValue() |
static JSonModel.KeyType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JSonModel.KeyType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JSonModel.KeyType STRING
public static final JSonModel.KeyType STRING_ARRAY
public static final JSonModel.KeyType OBJECT
public static final JSonModel.KeyType OBJECT_ARRAY
public static JSonModel.KeyType[] values()
for (JSonModel.KeyType c : JSonModel.KeyType.values()) System.out.println(c);
public static JSonModel.KeyType 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 getValue()
Copyright © 2019. All Rights Reserved.