int function ( final Position arg0 ) { if ( arg0 . y == y ) { return x - arg0 . x ; } else { return y - arg0 . y ; } }
compare two position objects . concode_field_sep int x concode_elem_sep int y concode_elem_sep long serialVersionUID concode_field_sep int getX concode_elem_sep int getY concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep boolean equals concode_elem_sep String toString concode_elem_sep void main