public enum BusinessService extends Enum<BusinessService>
| Enum Constant and Description |
|---|
BIZ_SERVICE_DELIVER
外卖服务
|
BIZ_SERVICE_FREE_PARK
停车位
|
BIZ_SERVICE_FREE_WIFI
免费wifi
|
BIZ_SERVICE_WITH_PET
可带宠物
|
| Modifier and Type | Method and Description |
|---|---|
static BusinessService |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BusinessService[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BusinessService BIZ_SERVICE_DELIVER
public static final BusinessService BIZ_SERVICE_FREE_PARK
public static final BusinessService BIZ_SERVICE_WITH_PET
public static final BusinessService BIZ_SERVICE_FREE_WIFI
public static BusinessService[] values()
for (BusinessService c : BusinessService.values()) System.out.println(c);
public static BusinessService 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.