Uses of Class
com.google.common.collect.CompactHashSet
-
Packages that use CompactHashSet Package Description com.google.common.collect This package contains generic collection interfaces and implementations, and other utilities for working with collections. -
-
Uses of CompactHashSet in com.google.common.collect
Subclasses of CompactHashSet in com.google.common.collect Modifier and Type Class Description (package private) class
CompactLinkedHashSet<E>
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 CompactHashSet Modifier and Type Method Description static <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(java.util.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.
-