question: returns the path depth number if the element is in the current path or -1 if it is n't . concode_field_sep int linkCount concode_elem_sep Map myVisitedElements concode_elem_sep Iterator myElements concode_elem_sep boolean done concode_field_sep boolean isVisited concode_elem_sep void beginVisit concode_elem_sep Iterator getElementLinks concode_elem_sep void endVisit concode_elem_sep void perform concode_elem_sep void perform concode_elem_sep void perform concode_elem_sep void perform concode_elem_sep void setVisited concode_elem_sep int visit
target: int function ( Object arg0 ) { if ( myVisitedElements . containsKey ( arg0 ) ) { return ( ( Integer ) myVisitedElements . get ( arg0 ) ) . intValue ( ) ; } return - 1 ; }