| 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.expiration(long duration,
TimeUnit unit)
Deprecated.
Caching functionality in
MapMaker is being moved to
CacheBuilder. Functionality equivalent to
expiration(long, java.util.concurrent.TimeUnit) is provided by
CacheBuilder.expireAfterWrite(long, java.util.concurrent.TimeUnit).
This method is scheduled for deletion in July 2012. |
MapMaker |
MapMaker.initialCapacity(int initialCapacity)
Sets the minimum total size for the internal hash tables.
|
MapMaker |
MapMaker.softKeys()
Deprecated.
use
softValues() to create a memory-sensitive map, or weakKeys() to
create a map that doesn't hold strong references to the keys.
This method is scheduled for deletion in January 2013. |
MapMaker |
MapMaker.softValues()
Specifies that each value (not key) stored in the map should be wrapped in a
SoftReference (by default, strong references are used). |
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). |
Copyright © 2010-2012. All Rights Reserved.