Class Size2i


  • public final class Size2i
    extends java.lang.Object
    • Field Summary

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

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

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • width

        @Nonnegative
        public final int width
      • height

        @Nonnegative
        public final int height
    • Constructor Detail

      • Size2i

        public Size2i​(@Nonnegative
                      int width,
                      @Nonnegative
                      int height)
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object