public static enum Address.Classification extends Enum<Address.Classification>
| Modifier and Type | Method and Description |
|---|---|
static Address.Classification |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Address.Classification[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Address.Classification HOME
public static final Address.Classification WORK
public static final Address.Classification MAIN
public static final Address.Classification OTHER
public static Address.Classification[] values()
for (Address.Classification c : Address.Classification.values()) System.out.println(c);
public static Address.Classification 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 © 2001-2022 Red Hat, Inc. All Rights Reserved.