public static enum Address.Status extends Enum<Address.Status>
Modifier and Type | Method and Description |
---|---|
static Address.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Address.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Address.Status RESERVED
public static final Address.Status IN_USE
public static Address.Status[] values()
for (Address.Status c : Address.Status.values()) System.out.println(c);
public static Address.Status 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 © 2009-2016 The Apache Software Foundation. All Rights Reserved.