public enum VehicleType extends Enum<VehicleType>
Enum Constant and Description |
---|
FIFTH
5종 (4축이상 특수화물차)
|
FIRST
1종 (승용차/소형승합차/소형화물화)
|
FOURTH
4종 (3축 대형화물차)
|
SECOND
2종 (중형승합차/중형화물차)
|
SIXTH
6종 (경차)
|
THIRD
3종 (대형승합차/2축 대형화물차)
|
TWO_WHEEL
이륜차
|
Modifier and Type | Method and Description |
---|---|
int |
getType() |
static VehicleType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VehicleType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VehicleType FIFTH
public static final VehicleType FIRST
public static final VehicleType FOURTH
public static final VehicleType SECOND
public static final VehicleType SIXTH
public static final VehicleType THIRD
public static final VehicleType TWO_WHEEL
public int getType()
public static VehicleType 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 static VehicleType[] values()
for (VehicleType c : VehicleType.values()) System.out.println(c);