| Package | Description |
|---|---|
| com.google.common.collect |
This package contains generic collection interfaces and implementations, and
other utilities for working with collections.
|
| Modifier and Type | Method and Description |
|---|---|
MapMaker |
MapMaker.concurrencyLevel(int concurrencyLevel)
Guides the allowed concurrency among update operations.
|
MapMaker |
MapMaker.initialCapacity(int initialCapacity)
Sets the minimum total size for the internal hash tables.
|
MapMaker |
MapMaker.softValues()
Deprecated.
Caching functionality in
MapMaker has been moved to CacheBuilder, with softValues() being replaced by CacheBuilder.softValues(). Note that CacheBuilder is simply
an enhanced API for an implementation which was branched from MapMaker. This
method is scheduled for deletion in September 2014. |
MapMaker |
MapMaker.weakKeys()
Specifies that each key (not value) stored in the map should be wrapped in a
WeakReference (by default, strong references are used). |
MapMaker |
MapMaker.weakValues()
Specifies that each value (not key) stored in the map should be wrapped in a
WeakReference (by default, strong references are used). |
| Modifier and Type | Method and Description |
|---|---|
static <E> ConcurrentHashMultiset<E> |
ConcurrentHashMultiset.create(MapMaker mapMaker)
Creates a new, empty
ConcurrentHashMultiset using mapMaker
to construct the internal backing map. |
Copyright © 2010-2014. All Rights Reserved.