public enum ConnectionQuality extends java.lang.Enum<ConnectionQuality>
| Enum Constant and Description |
|---|
EXCELLENT |
GOOD |
MODERATE |
POOR |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static ConnectionQuality |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConnectionQuality[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConnectionQuality POOR
public static final ConnectionQuality MODERATE
public static final ConnectionQuality GOOD
public static final ConnectionQuality EXCELLENT
public static final ConnectionQuality UNKNOWN
public static ConnectionQuality[] values()
for (ConnectionQuality c : ConnectionQuality.values()) System.out.println(c);
public static ConnectionQuality valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null