Class Size


  • public class Size
    extends Object
    • Field Detail

      • width

        public double width
      • height

        public double height
    • Constructor Detail

      • Size

        public Size​(double width,
                    double height)
      • Size

        public Size()
      • Size

        public Size​(Point p)
      • Size

        public Size​(double[] vals)
    • Method Detail

      • set

        public void set​(double[] vals)
      • area

        public double area()
      • empty

        public boolean empty()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object