public static enum Link.Mode extends Enum<Link.Mode>
Mode.WIRED
and
Mode.WIRELESS
.Modifier and Type | Method and Description |
---|---|
static Link.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Link.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Link.Mode WIRED
public static final Link.Mode WIRELESS
public static Link.Mode[] values()
for (Link.Mode c : Link.Mode.values()) System.out.println(c);
public static Link.Mode 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 null