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) classCompactLinkedHashSet 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 emptyCompactHashSetinstance.static <E> CompactHashSet<E>CompactHashSet.create(E... elements) Creates a mutableCompactHashSetinstance containing the given elements in unspecified order.static <E> CompactHashSet<E>CompactHashSet.create(Collection<? extends E> collection) Creates a mutableCompactHashSetinstance containing the elements of the given collection in unspecified order.static <E> CompactHashSet<E>CompactHashSet.createWithExpectedSize(int expectedSize) Creates aCompactHashSetinstance, with a high enough "initial capacity" that it should holdexpectedSizeelements without growth.