public static enum CollectionLiteral.Type extends java.lang.Enum<CollectionLiteral.Type>
Enum Constant and Description |
---|
array |
list |
map |
range |
set |
tuple |
vector |
Modifier and Type | Method and Description |
---|---|
static CollectionLiteral.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CollectionLiteral.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CollectionLiteral.Type array
public static final CollectionLiteral.Type list
public static final CollectionLiteral.Type set
public static final CollectionLiteral.Type map
public static final CollectionLiteral.Type tuple
public static final CollectionLiteral.Type vector
public static final CollectionLiteral.Type range
public static CollectionLiteral.Type[] values()
for (CollectionLiteral.Type c : CollectionLiteral.Type.values()) System.out.println(c);
public static CollectionLiteral.Type valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null