code: public final void setToSize(int size) {
      
      Object newMap[] = new Object[size];
      
      System.arraycopy(m_map, 0, newMap, 0, m_firstFree);
      m_mapSize = size;
  
      m_map = newMap;
      
    }
docs: /*
  Reset the array to the supplied size.
  
  @param size