public enum Engine extends Enum<Engine>
| Modifier and Type | Method and Description |
|---|---|
static Engine |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Engine[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Engine CIRCO
public static final Engine DOT
public static final Engine NEATO
public static final Engine OSAGE
public static final Engine TWOPI
public static Engine[] values()
for (Engine c : Engine.values()) System.out.println(c);
public static Engine 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 © 2015–2017. All rights reserved.