|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use MapMaker | |
---|---|
com.google.common.collect | This package contains generic collection interfaces and implementations, and other utilities for working with collections. |
Uses of MapMaker in com.google.common.collect |
---|
Methods in com.google.common.collect that return MapMaker | |
---|---|
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) . Note that CacheBuilder is simply an enhanced API for an implementation which was branched from
MapMaker .
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). |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |