class LightWeightHashSet implements Collection<T> {

  public T getElement(final T key) {
    // validate key
    if (key == null) {
      throw new IllegalArgumentException("Null element is not supported.");
    }
    // find element
    final int hashCode = key.hashCode();
    final int index = getIndex(hashCode);
    return getContainedElem(index, key, hashCode);
  }

  @SuppressWarnings("unchecked") public  LightWeightHashSet(int initCapacity, float maxLoadFactor,
      float minLoadFactor);
  public  LightWeightHashSet();
  public  LightWeightHashSet(int minCapacity);

}