public final boolean contains(String key)
  {

    for (int i = 0; i < m_firstFree; i++)
    {
      if (m_map[i].equals(key))
        return true;
    }

    return false;
  }
public final boolean contains ( String key ) { for ( int i = 0 ; i < m_firstFree ; i ++ ) { if ( m_map [ i ] . equals ( key ) ) return true ; } return false ; }
Tell if the table contains the given string.

@param key String to look for

@return True if the string is in the table