Class Dimension


  • public class Dimension
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Dimension​(int width, int height)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getArea()  
      int getHeight()  
      int getWidth()  
      • Methods inherited from class java.lang.Object

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

      • Dimension

        public Dimension​(int width,
                         int height)
    • Method Detail

      • getArea

        public int getArea()
      • getWidth

        public int getWidth()
      • getHeight

        public int getHeight()