public enum ECityViolationPunishment extends Enum<ECityViolationPunishment>
| Enum Constant and Description |
|---|
BLOCKADE |
LARGE_FINE |
MEDIUM_FINE |
NONE |
SMALL_FINE |
| Modifier and Type | Method and Description |
|---|---|
static ECityViolationPunishment |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ECityViolationPunishment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ECityViolationPunishment NONE
public static final ECityViolationPunishment SMALL_FINE
public static final ECityViolationPunishment MEDIUM_FINE
public static final ECityViolationPunishment LARGE_FINE
public static final ECityViolationPunishment BLOCKADE
public static ECityViolationPunishment[] values()
for (ECityViolationPunishment c : ECityViolationPunishment.values()) System.out.println(c);
public static ECityViolationPunishment 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 © 2011-2016 Sahits GmbH. All Rights Reserved.