Enum Class Shape

java.lang.Object
java.lang.Enum<Shape>
com.ldtteam.structurize.api.Shape
All Implemented Interfaces:
Serializable, Comparable<Shape>, Constable

public enum Shape extends Enum<Shape>
Type of shapes our tool supports.
  • Enum Constant Details

    • CUBE

      public static final Shape CUBE
    • SPHERE

      public static final Shape SPHERE
    • HALF_SPHERE

      public static final Shape HALF_SPHERE
    • BOWL

      public static final Shape BOWL
    • WAVE

      public static final Shape WAVE
    • WAVE_3D

      public static final Shape WAVE_3D
    • DIAMOND

      public static final Shape DIAMOND
    • PYRAMID

      public static final Shape PYRAMID
    • UPSIDE_DOWN_PYRAMID

      public static final Shape UPSIDE_DOWN_PYRAMID
    • CYLINDER

      public static final Shape CYLINDER
    • CONE

      public static final Shape CONE
  • Method Details

    • values

      public static Shape[] 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 Shape 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