public int indexOf(Node elem,int index){
  runTo(-1);
  if (null == m_map)   return -1;
  for (int i=index; i < m_firstFree; i++) {
    Node node=m_map[i];
    if ((null != node) && node.equals(elem))     return i;
  }
  return -1;
}

public int indexOf ( Node elem , int index ) { runTo ( - 1 ) ; if ( null == m_map ) return - 1 ; for ( int i = index ; i < m_firstFree ; i ++ ) { Node node = m_map [ i ] ; if ( ( null != node ) && node . equals ( elem ) ) return i ; } return - 1 ; }
searches for the first occurence of the given argument , beginning the search at index , and testing for equality using the equals method .
