Package mathvoyage

Enum Class quadrilateralType

java.lang.Object
java.lang.Enum<quadrilateralType>
mathvoyage.quadrilateralType
All Implemented Interfaces:
Serializable, Comparable<quadrilateralType>, Constable

public enum quadrilateralType extends Enum<quadrilateralType>
The enum Quadrilateral type.
  • Enum Constant Details

    • SQUARE

      public static final quadrilateralType SQUARE
      Square quadrilateral type.
    • RECTANGLE

      public static final quadrilateralType RECTANGLE
      Rectangle quadrilateral type.
    • RHOMBUS

      public static final quadrilateralType RHOMBUS
      Rhombus quadrilateral type.
    • PARALLELOGRAM

      public static final quadrilateralType PARALLELOGRAM
      Parallelogram quadrilateral type.
  • Method Details

    • values

      public static quadrilateralType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static quadrilateralType valueOf(String name)
      Returns 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.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null