Enum Class Bed.Part
- Enclosing interface:
Horizontal half of a bed.
Nested Class Summary
Enum Constant SummaryEnum ConstantDescriptionThe foot is the lower half of the bed.The head is the upper part of the bed containing the pillow.
Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Enum Constant Details
valuespublic static Bed.Part values()Returns an array containing the constants of this enum class, in the order they are declared.
- an array containing the constants of this enum class, in the order they are declared
valueOfReturns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)