Class Dimension


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

      Fields 
      Modifier and Type Field Description
      int height  
      int width  
    • Constructor Summary

      Constructors 
      Constructor Description
      Dimension​(int w, int h)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Dimension set​(int w, int h)  
      • Methods inherited from class java.lang.Object

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

      • width

        public int width
      • height

        public int height
    • Constructor Detail

      • Dimension

        public Dimension​(int w,
                         int h)
    • Method Detail

      • set

        public Dimension set​(int w,
                             int h)