package org.warp.commonutils.type; import it.unimi.dsi.fastutil.objects.ObjectLinkedOpenHashSet; import java.util.Collection; public class HashStackSet extends FastUtilStackSetWrapper { public HashStackSet() { super(new ObjectLinkedOpenHashSet<>()); } public HashStackSet(Collection collection) { super(new ObjectLinkedOpenHashSet<>(collection)); } public HashStackSet(AddStrategy addStrategy) { super(new ObjectLinkedOpenHashSet<>(), addStrategy); } private HashStackSet(ObjectLinkedOpenHashSet linkedHashSet, AddStrategy addStrategy) { super(linkedHashSet, addStrategy); } @Override public HashStackSet clone() { return new HashStackSet<>(super.linkedHashSet.clone(), super.addStrategy); } }