public static enum engine.kind extends Enum<engine.kind>
| Enum Constant and Description |
|---|
any
An unspecified engine
|
cpu
CPU engine
|
gpu
GPU engine
|
| Modifier and Type | Field and Description |
|---|---|
int |
value |
| Modifier and Type | Method and Description |
|---|---|
engine.kind |
intern() |
String |
toString() |
static engine.kind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static engine.kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final engine.kind any
public static final engine.kind cpu
public static final engine.kind gpu
public static engine.kind[] values()
for (engine.kind c : engine.kind.values()) System.out.println(c);
public static engine.kind 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 nullpublic engine.kind intern()
public String toString()
toString in class Enum<engine.kind>Copyright © 2020. All rights reserved.