Serializable
, Comparable<JsArray.TYPE>
public static enum JsArray.TYPE extends Enum<JsArray.TYPE>
Enum Constant | Description |
---|---|
LIST |
The order of data matters and duplicate data items are permitted.
|
MULTISET |
The order of data items does not matter, but in this
case duplicate data items are permitted.
|
SET |
The order of data items does not matter (or is undefined) but duplicate data items are not
permitted.
|
Modifier and Type | Method | Description |
---|---|---|
static JsArray.TYPE |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static JsArray.TYPE[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JsArray.TYPE SET
public static final JsArray.TYPE LIST
public static final JsArray.TYPE MULTISET
public static JsArray.TYPE[] values()
for (JsArray.TYPE c : JsArray.TYPE.values()) System.out.println(c);
public static JsArray.TYPE 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 nullCopyright © 2019. All rights reserved.