public enum FreeOnBoard extends Enum<FreeOnBoard>
Enum Constant and Description |
---|
DESTINATION |
NONE |
ORIGIN |
Modifier and Type | Method and Description |
---|---|
static FreeOnBoard |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FreeOnBoard[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FreeOnBoard NONE
public static final FreeOnBoard ORIGIN
public static final FreeOnBoard DESTINATION
public static FreeOnBoard[] values()
for (FreeOnBoard c : FreeOnBoard.values()) System.out.println(c);
public static FreeOnBoard 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 © 2010–2016. All rights reserved.