public enum Generation extends Enum<Generation> implements IDataTransferModel
Enum Constant and Description |
---|
F1 |
F2 |
F3 |
M0 |
M1 |
M2 |
T0 |
T1 |
T2 |
T3 |
T4 |
T5 |
UNKNOWN |
Modifier and Type | Method and Description |
---|---|
static Generation |
fromString(String value) |
static Generation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Generation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Generation UNKNOWN
public static final Generation F1
public static final Generation F2
public static final Generation F3
public static final Generation M0
public static final Generation M1
public static final Generation M2
public static final Generation T0
public static final Generation T1
public static final Generation T2
public static final Generation T3
public static final Generation T4
public static final Generation T5
public static Generation[] values()
for (Generation c : Generation.values()) System.out.println(c);
public static Generation 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 static Generation fromString(String value)
Copyright © 2017. All rights reserved.