int function ( Object arg0 ) { for ( int loc0 = 0 ; loc0 < nextIndex ; loc0 += 1 ) { if ( objects [ loc0 ] == arg0 ) { return offsets [ loc0 ] ; } } return - 1 ; }
returns the offset for a visited object , or -1 if never visited . concode_field_sep int[] offsets concode_elem_sep Object PROHIBIT_REF_OBJECT concode_elem_sep Object[] objects concode_elem_sep int nextIndex concode_elem_sep int INIT_LEN concode_elem_sep int PRI_KEY_VISITED_OFFSET concode_elem_sep int PROHIBIT_REF_OFFSET concode_elem_sep String PROHIBIT_NESTED_REF_MSG concode_field_sep int add concode_elem_sep Object getObject concode_elem_sep void replaceObject concode_elem_sep void growVisitedArrays concode_elem_sep void setOffset concode_elem_sep void setObject