Class Line


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

      Constructors 
      Constructor Description
      Line()  
      Line​(int p1, int p2)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      int getP1()  
      int getP2()  
      int hashCode()  
      void setP1​(int p1)  
      void setP2​(int p2)  
      • Methods inherited from class java.lang.Object

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

      • Line

        public Line()
      • Line

        public Line​(int p1,
                    int p2)
    • Method Detail

      • getP1

        public int getP1()
      • setP1

        public void setP1​(int p1)
      • getP2

        public int getP2()
      • setP2

        public void setP2​(int p2)
      • hashCode

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

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