public enum CarLicecenType extends Enum<CarLicecenType>
Enum Constant and Description |
---|
CIVIL
民用车牌
|
ELCHEE
大使馆车牌
|
ENERGY
新能源汽车车牌
|
POLICE
警用车牌
|
Modifier and Type | Method and Description |
---|---|
static CarLicecenType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CarLicecenType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CarLicecenType CIVIL
public static final CarLicecenType POLICE
public static final CarLicecenType ELCHEE
public static final CarLicecenType ENERGY
public static CarLicecenType[] values()
for (CarLicecenType c : CarLicecenType.values()) System.out.println(c);
public static CarLicecenType 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 © 2024. All rights reserved.