public enum ModelsType extends Enum<ModelsType>
| Enum Constant and Description |
|---|
ARRAY
Array of models
|
LIST
List of models
|
SET
Set of models
|
| Modifier and Type | Method and Description |
|---|---|
static ModelsType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ModelsType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModelsType LIST
public static final ModelsType SET
public static final ModelsType ARRAY
public static ModelsType[] values()
for (ModelsType c : ModelsType.values()) System.out.println(c);
public static ModelsType 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 © 2018 Mario Tema. All rights reserved.