public static enum MacAddress.Format extends Enum<MacAddress.Format>
Enum Constant and Description |
---|
MULTI_COLON |
MULTI_DASH |
NO_DELIMITER |
SINGLE_COLON |
SINGLE_DASH |
Modifier and Type | Method and Description |
---|---|
static MacAddress.Format |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MacAddress.Format[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MacAddress.Format MULTI_COLON
public static final MacAddress.Format MULTI_DASH
public static final MacAddress.Format SINGLE_COLON
public static final MacAddress.Format SINGLE_DASH
public static final MacAddress.Format NO_DELIMITER
public static MacAddress.Format[] values()
for (MacAddress.Format c : MacAddress.Format.values()) System.out.println(c);
public static MacAddress.Format 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 © 2015. All Rights Reserved.