public static enum BorrowablePath.Behaviour extends Enum<BorrowablePath.Behaviour>
Enum Constant and Description |
---|
BORROWABLE
You can borrow the path's contents.
|
NOT_BORROWABLE
You should NOT borrow the path.
|
Modifier and Type | Method and Description |
---|---|
static BorrowablePath.Behaviour |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BorrowablePath.Behaviour[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BorrowablePath.Behaviour NOT_BORROWABLE
public static final BorrowablePath.Behaviour BORROWABLE
public static BorrowablePath.Behaviour[] values()
for (BorrowablePath.Behaviour c : BorrowablePath.Behaviour.values()) System.out.println(c);
public static BorrowablePath.Behaviour 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 null