/** Empties the set. */
  public void clear() {
    super.clear();
    double[] set = _set;
    byte[] states = _states;

    for (int i = set.length; i-- > 0; ) {
      set[i] = (double) 0;
      states[i] = FREE;
    }
  }
  /** Empties the map. */
  @Override // GemStoneAddition
  public void clear() {
    super.clear();
    double[] keys = _set;
    float[] vals = _values;
    byte[] states = _states;

    for (int i = keys.length; i-- > 0; ) {
      keys[i] = 0;
      vals[i] = 0;
      states[i] = FREE;
    }
  }
 /**
  * removes the mapping at <tt>index</tt> from the map.
  *
  * @param index an <code>int</code> value
  */
 @Override // GemStoneAddition
 protected void removeAt(int index) {
   super.removeAt(index); // clear key, state; adjust size
   _values[index] = 0;
 }