Uses of Class
com.google.common.collect.CompactHashSet
Packages that use CompactHashSet
Package
Description
Collection interfaces and implementations, and other utilities for collections.
-
Uses of CompactHashSet in com.google.common.collect
Subclasses of CompactHashSet in com.google.common.collectModifier and TypeClassDescription(package private) class
CompactLinkedHashSet is an implementation of a Set, which a predictable iteration order that matches the insertion order.Methods in com.google.common.collect that return CompactHashSetModifier and TypeMethodDescriptionstatic <E> CompactHashSet
<E> CompactHashSet.create()
Creates an emptyCompactHashSet
instance.static <E> CompactHashSet
<E> CompactHashSet.create
(E... elements) Creates a mutableCompactHashSet
instance containing the given elements in unspecified order.static <E> CompactHashSet
<E> CompactHashSet.create
(Collection<? extends E> collection) Creates a mutableCompactHashSet
instance containing the elements of the given collection in unspecified order.static <E> CompactHashSet
<E> CompactHashSet.createWithExpectedSize
(int expectedSize) Creates aCompactHashSet
instance, with a high enough "initial capacity" that it should holdexpectedSize
elements without growth.