boolean function ( Object arg0 ) { if ( ! ( arg0 instanceof IntList ) ) { return false ; } IntList loc0 = ( IntList ) arg0 ; IntList loc1 ; for ( loc1 = this ; loc1 != null && loc0 != null ; loc1 = loc1 . tail , loc0 = loc0 . tail ) { if ( loc1 . head != loc0 . head ) { return false ; } } if ( loc1 != null || loc0 != null ) { return false ; } return true ; }
returns true iff x is an intlist containing the same sequence of ints as this . can not handle intlists with cycles . you are not expected to read or understand this method . concode_field_sep int head concode_elem_sep IntList tail concode_field_sep void dSquareList concode_elem_sep IntList dcatenate concode_elem_sep IntList catenate concode_elem_sep int hashCode concode_elem_sep IntList squareListRecursive concode_elem_sep int detectCycles concode_elem_sep String toString concode_elem_sep IntList squareListIterative concode_elem_sep IntList list