Class RectangleUnion.Rectangle

  • Enclosing class:
    RectangleUnion

    public static class RectangleUnion.Rectangle
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      Rectangle​(int x1, int y1, int x2, int y2)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getX1()  
      int getX2()  
      int getY1()  
      int getY2()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

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

      • Rectangle

        public Rectangle​(int x1,
                         int y1,
                         int x2,
                         int y2)
    • Method Detail

      • getX1

        public int getX1()
      • getY1

        public int getY1()
      • getX2

        public int getX2()
      • getY2

        public int getY2()
      • toString

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