public static enum CollectionLiteral.Type extends Enum<CollectionLiteral.Type>
| Modifier and Type | Method and Description |
|---|---|
static CollectionLiteral.Type |
valueOf(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 CollectionLiteral.Type[] values()
for (CollectionLiteral.Type c : CollectionLiteral.Type.values()) System.out.println(c);
public static CollectionLiteral.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 © 2014 Institut National des Sciences Appliquées de Lyon (INSA-Lyon). All Rights Reserved.