org.kernelab.basis.WrappedLinkedHashSet Maven / Gradle / Ivy
package org.kernelab.basis;
import java.util.Collection;
import java.util.HashSet;
import java.util.LinkedHashSet;
public class WrappedLinkedHashSet extends WrappedHashSet
{
/**
*
*/
private static final long serialVersionUID = 1504905058400818317L;
public WrappedLinkedHashSet(HashedEquality equal)
{
super(equal);
}
public WrappedLinkedHashSet(HashedEquality equal, Collection extends E> c)
{
super(equal, c);
}
public WrappedLinkedHashSet(HashedEquality equal, int initialCapacity)
{
super(equal, initialCapacity);
}
public WrappedLinkedHashSet(HashedEquality equal, int initialCapacity, float loadFactor)
{
super(equal, initialCapacity, loadFactor);
}
@Override
protected HashSet newHashSet(int initialCapacity, float loadFactor)
{
return new LinkedHashSet(initialCapacity, loadFactor);
}
}