public static enum ProductItem.EnumGender extends Enum<ProductItem.EnumGender>
Enum Constant and Description |
---|
VALUE_FEMALE |
VALUE_MALE |
VALUE_UNISEX |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static ProductItem.EnumGender |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ProductItem.EnumGender[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProductItem.EnumGender VALUE_FEMALE
public static final ProductItem.EnumGender VALUE_MALE
public static final ProductItem.EnumGender VALUE_UNISEX
public static ProductItem.EnumGender[] values()
for (ProductItem.EnumGender c : ProductItem.EnumGender.values()) System.out.println(c);
public static ProductItem.EnumGender 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 String toString()
toString
in class Enum<ProductItem.EnumGender>
Copyright © 2020. All rights reserved.