idi.diplom.linda.logic
Enum Sensor_enum
java.lang.Object
java.lang.Enum<Sensor_enum>
idi.diplom.linda.logic.Sensor_enum
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<Sensor_enum>
public enum Sensor_enum
- extends java.lang.Enum<Sensor_enum>
Method Summary |
static Sensor_enum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Sensor_enum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
HR_WARN_LOW
public static final Sensor_enum HR_WARN_LOW
HR_WARN_HIGH
public static final Sensor_enum HR_WARN_HIGH
HR_ALARM_LOW
public static final Sensor_enum HR_ALARM_LOW
HR_ALARM_HIGH
public static final Sensor_enum HR_ALARM_HIGH
BR_WARN_LOW
public static final Sensor_enum BR_WARN_LOW
BR_WARN_HIGH
public static final Sensor_enum BR_WARN_HIGH
BR_ALARM_LOW
public static final Sensor_enum BR_ALARM_LOW
BR_ALARM_HIGH
public static final Sensor_enum BR_ALARM_HIGH
SPO2_WARN_LOW
public static final Sensor_enum SPO2_WARN_LOW
SPO2_WARN_HIGH
public static final Sensor_enum SPO2_WARN_HIGH
SPO2_ALARM_LOW
public static final Sensor_enum SPO2_ALARM_LOW
SPO2_ALARM_HIGH
public static final Sensor_enum SPO2_ALARM_HIGH
values
public static Sensor_enum[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (Sensor_enum c : Sensor_enum.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static Sensor_enum valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null