class LightWeightLinkedSet extends LightWeightHashSet<T> {

  @Override
  public List<T> pollAll() {
    List<T> retList = new ArrayList<>(size);
    while (head != null) {
      retList.add(head.element);
      head = head.after;
    }
    this.clear();
    return retList;
  }

  public  LightWeightLinkedSet(int initCapacity, float maxLoadFactor,
      float minLoadFactor);
  public  LightWeightLinkedSet();

}