Modifier and Type | Method and Description |
---|---|
static ModeType |
fromName(java.lang.String name)
Get an
ModeType from a given name |
java.lang.String |
getName()
Gets the string name of the
ModeType |
static ModeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ModeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModeType MANUAL
public static final ModeType CHIP
public static final ModeType CTLS
public static final ModeType MSR
public static ModeType[] values()
for (ModeType c : ModeType.values()) System.out.println(c);
public static ModeType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getName()
ModeType
ModeType
Copyright © 2019 Yello. All rights reserved.