int function ( Object arg0 ) { int loc0 = 0 ; PNode loc1 = head ; while ( loc1 != null ) { if ( loc1 . arg0 == arg0 ) return loc0 ; loc1 = loc1 . next ; loc0 ++ ; } return - 1 ; }
searches for the specified data object in the list concode_field_sep PNode head concode_elem_sep PNode tail concode_elem_sep int size concode_field_sep Object popHead concode_elem_sep void printBackward concode_elem_sep int getSize concode_elem_sep void printForward concode_elem_sep boolean found concode_elem_sep Object popTail concode_elem_sep void pushToTail concode_elem_sep boolean isEmpty concode_elem_sep Object elementAt concode_elem_sep void pushToHead concode_elem_sep boolean removeAt concode_elem_sep boolean remove