static <E> CompactLinkedHashSet<E> |
CompactLinkedHashSet.create() |
Creates an empty CompactLinkedHashSet instance.
|
static <E> CompactLinkedHashSet<E> |
CompactLinkedHashSet.create(E... elements) |
Creates a CompactLinkedHashSet instance containing the given elements in
unspecified order.
|
static <E> CompactLinkedHashSet<E> |
CompactLinkedHashSet.create(java.util.Collection<? extends E> collection) |
Creates a mutable CompactLinkedHashSet instance containing the elements
of the given collection in the order returned by the collection's iterator.
|
static <E> CompactLinkedHashSet<E> |
CompactLinkedHashSet.createWithExpectedSize(int expectedSize) |
Creates a CompactLinkedHashSet instance, with a high enough "initial capacity"
that it should hold expectedSize elements without rebuilding internal
data structures.
|