Enum Observed.State
- All Implemented Interfaces:
Serializable,Comparable<Observed.State>,java.lang.constant.Constable
Which of the three answers a read gave.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe read succeeded and observed that there is nothing.The read could not be made; nothing may be concluded.The read succeeded and holds a value. -
Method Summary
Modifier and TypeMethodDescriptionstatic Observed.StateReturns the enum constant of this type with the specified name.static Observed.State[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
VALUE
The read succeeded and holds a value. -
ABSENT
The read succeeded and observed that there is nothing. -
UNREADABLE
The read could not be made; nothing may be concluded.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-