public enum WayAccess extends Enum<WayAccess>
Modifier and Type | Method and Description |
---|---|
boolean |
canSkip() |
boolean |
isFerry() |
boolean |
isOther() |
boolean |
isWay() |
static WayAccess |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static WayAccess[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final WayAccess WAY
public static final WayAccess FERRY
public static final WayAccess OTHER
public static final WayAccess CAN_SKIP
public static WayAccess[] values()
for (WayAccess c : WayAccess.values()) System.out.println(c);
public static WayAccess 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 boolean isFerry()
public boolean isWay()
public boolean isOther()
public boolean canSkip()
Copyright © 2012–2022. All rights reserved.