Uses of Class
com.google.common.collect.CompactHashMap
Packages that use CompactHashMap
Package
Description
Collection interfaces and implementations, and other utilities for collections.
-
Uses of CompactHashMap in com.google.common.collect
Subclasses of CompactHashMap in com.google.common.collectModifier and TypeClassDescription(package private) class
CompactLinkedHashMap<K,
V> CompactLinkedHashMap is an implementation of a Map with insertion or LRU iteration order, maintained with a doubly linked list through the entries.Methods in com.google.common.collect that return CompactHashMapModifier and TypeMethodDescriptionstatic <K,
V> CompactHashMap <K, V> CompactHashMap.create()
Creates an emptyCompactHashMap
instance.static <K,
V> CompactHashMap <K, V> CompactHashMap.createWithExpectedSize
(int expectedSize) Creates aCompactHashMap
instance, with a high enough "initial capacity" that it should holdexpectedSize
elements without growth.