public enum PlateType extends Enum<PlateType>
| 枚举常量和说明 |
|---|
BUS
公交车 ,大巴
|
COMMON
常用车牌,非特殊作用,家庭/个人用
|
FOREIGNER
外籍 ,或者外籍公司车牌
|
MOTOR
摩托车
|
TAXI
出租车
|
TEMPORARY
临时号牌
|
public static final PlateType MOTOR
public static final PlateType BUS
public static final PlateType TAXI
public static final PlateType FOREIGNER
public static final PlateType TEMPORARY
public static final PlateType COMMON
public static PlateType[] values()
for (PlateType c : PlateType.values()) System.out.println(c);
public static PlateType valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值Copyright © 2020. All rights reserved.