static AxesWalker findClone ( AxesWalker key , Vector cloneList ) { if ( null != cloneList ) { // First, look for clone on list. int n = cloneList . size ( ) ; for ( int i = 0 ; i < n ; i += 2 ) { if ( key == cloneList . elementAt ( i ) ) return ( AxesWalker ) cloneList . elementAt ( i + 1 ) ; } } return null ; }
Find a clone that corresponds to the key argument .