Class Segment


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

      Constructors 
      Constructor Description
      Segment​(int row, int col)  
    • Method Summary

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

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

      • Segment

        public Segment​(int row,
                       int col)
    • Method Detail

      • 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
      • getRow

        public final int getRow()
      • getCol

        public final int getCol()