Uses of Class
com.google.common.collect.CompactLinkedHashSet
Packages that use CompactLinkedHashSet
Package
Description
Collection interfaces and implementations, and other utilities for collections.
-
Uses of CompactLinkedHashSet in com.google.common.collect
Methods in com.google.common.collect that return CompactLinkedHashSetModifier and TypeMethodDescriptionstatic <E> CompactLinkedHashSet
<E> CompactLinkedHashSet.create()
Creates an emptyCompactLinkedHashSet
instance.static <E> CompactLinkedHashSet
<E> CompactLinkedHashSet.create
(E... elements) Creates aCompactLinkedHashSet
instance containing the given elements in unspecified order.static <E> CompactLinkedHashSet
<E> CompactLinkedHashSet.create
(Collection<? extends E> collection) Creates a mutableCompactLinkedHashSet
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 aCompactLinkedHashSet
instance, with a high enough "initial capacity" that it should holdexpectedSize
elements without rebuilding internal data structures.