public static enum JsArray.TYPE extends Enum<JsArray.TYPE>
Arrays can be categorized into these types based on their behavior and characteristics. Understanding the type of array is important when dealing with data structures and their usage.
Choosing the appropriate type of array for your use case can help ensure that your data is organized and behaves as expected in your application.
Modifier and Type | Method and 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 © 2023. All rights reserved.