Class AreaShape

  • All Implemented Interfaces:
    java.io.Serializable

    public class AreaShape
    extends java.lang.Object
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      private AreaShape​(java.lang.String value)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getValue()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • RECTANGLE

        public static final AreaShape RECTANGLE
      • CIRCLE

        public static final AreaShape CIRCLE
      • POLYGON

        public static final AreaShape POLYGON
      • value

        private java.lang.String value
    • Constructor Detail

      • AreaShape

        private AreaShape​(java.lang.String value)
        Parameters:
        value -
    • Method Detail

      • getValue

        public java.lang.String getValue()
        Returns:
        value