int function ( Coordinate arg0 ) { if ( this . x < arg0 . x || this . y < arg0 . y ) { return - 1 ; } else if ( this . x > arg0 . x || this . y > arg0 . y ) { return 1 ; } else { return 0 ; } }
comparison for coordinates relies on x , then y . if the x values are not the same , y values are used . concode_field_sep int x concode_elem_sep int y concode_field_sep boolean sameRow concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep boolean sameColumn concode_elem_sep String toString