public static enum AddressInfo.Status extends Enum<AddressInfo.Status>
Enum Constant and Description |
---|
IN_USE
The address is currently being used and thus not available.
|
RESERVED
The address is reserved for the project and is available for use.
|
Modifier and Type | Method and Description |
---|---|
static AddressInfo.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AddressInfo.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AddressInfo.Status RESERVED
public static final AddressInfo.Status IN_USE
public static AddressInfo.Status[] values()
for (AddressInfo.Status c : AddressInfo.Status.values()) System.out.println(c);
public static AddressInfo.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 © 2019 Google LLC. All rights reserved.