|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use GenericMapMaker | |
---|---|
com.google.common.collect | This package contains generic collection interfaces and implementations, and other utilities for working with collections. |
Uses of GenericMapMaker in com.google.common.collect |
---|
Subclasses of GenericMapMaker in com.google.common.collect | |
---|---|
class |
MapMaker
A builder of ConcurrentMap instances having any combination of the following features:
keys or values automatically wrapped in weak or soft references
least-recently-used eviction when a maximum size is exceeded
time-based expiration of entries, measured since last access or last write
notification of evicted (or otherwise removed) entries
on-demand computation of values for keys not already present
|
Methods in com.google.common.collect that return GenericMapMaker | ||
---|---|---|
abstract GenericMapMaker<K0,V0> |
GenericMapMaker.concurrencyLevel(int concurrencyLevel)
See MapMaker.concurrencyLevel . |
|
|
MapMaker.evictionListener(MapEvictionListener<K,V> listener)
Deprecated. Caching functionality in MapMaker is being moved to
CacheBuilder . Functionality similar to
MapMaker.evictionListener(com.google.common.collect.MapEvictionListener is provided by CacheBuilder.removalListener(com.google.common.cache.RemovalListener)
which also provides
additional information about the entry being evicted; note that evictionListener
only notifies on removals due to eviction, while removalListener also notifies on
explicit removal (providing the RemovalCause to
indicate the specific cause of removal. This method is scheduled for deletion in Guava
release 11. |
|
abstract GenericMapMaker<K0,V0> |
GenericMapMaker.expiration(long duration,
TimeUnit unit)
Deprecated. |
|
abstract GenericMapMaker<K0,V0> |
GenericMapMaker.expireAfterAccess(long duration,
TimeUnit unit)
Deprecated. |
|
abstract GenericMapMaker<K0,V0> |
GenericMapMaker.expireAfterWrite(long duration,
TimeUnit unit)
Deprecated. |
|
abstract GenericMapMaker<K0,V0> |
GenericMapMaker.initialCapacity(int initialCapacity)
See MapMaker.initialCapacity . |
|
abstract GenericMapMaker<K0,V0> |
GenericMapMaker.maximumSize(int maximumSize)
Deprecated. |
|
abstract GenericMapMaker<K0,V0> |
GenericMapMaker.softKeys()
Deprecated. |
|
abstract GenericMapMaker<K0,V0> |
GenericMapMaker.softValues()
See MapMaker.softValues() . |
|
abstract GenericMapMaker<K0,V0> |
GenericMapMaker.weakKeys()
See MapMaker.weakKeys() . |
|
abstract GenericMapMaker<K0,V0> |
GenericMapMaker.weakValues()
See MapMaker.weakValues() . |
Methods in com.google.common.collect with parameters of type GenericMapMaker | ||
---|---|---|
static
|
ConcurrentHashMultiset.create(GenericMapMaker<? super E,? super Number> mapMaker)
Creates a new, empty ConcurrentHashMultiset using mapMaker
to construct the internal backing map. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |