Package | Description |
---|---|
com.google.common.collect |
This package contains generic collection interfaces and implementations, and other utilities for
working with collections.
|
Modifier and Type | Class and Description |
---|---|
(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.
|
Modifier and Type | Method and Description |
---|---|
static <K,V> CompactHashMap<K,V> |
CompactHashMap.create()
Creates an empty
CompactHashMap instance. |
static <K,V> CompactHashMap<K,V> |
CompactHashMap.createWithExpectedSize(int expectedSize)
Creates a
CompactHashMap instance, with a high enough "initial capacity" that it
should hold expectedSize elements without growth. |