| 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 |
|---|---|
class |
MapMaker
A builder of
ConcurrentMap instances having any combination of the following features:
keys or values automatically wrapped in weak or soft references
notification of evicted (or otherwise removed) entries
on-demand computation of values for keys not already present
|
| Modifier and Type | Method and Description |
|---|---|
abstract GenericMapMaker<K0,V0> |
GenericMapMaker.concurrencyLevel(int concurrencyLevel)
Deprecated.
|
(package private) abstract GenericMapMaker<K0,V0> |
GenericMapMaker.expireAfterAccess(long duration,
java.util.concurrent.TimeUnit unit)
Deprecated.
|
(package private) abstract GenericMapMaker<K0,V0> |
GenericMapMaker.expireAfterWrite(long duration,
java.util.concurrent.TimeUnit unit)
Deprecated.
|
abstract GenericMapMaker<K0,V0> |
GenericMapMaker.initialCapacity(int initialCapacity)
Deprecated.
|
(package private) abstract GenericMapMaker<K0,V0> |
GenericMapMaker.keyEquivalence(Equivalence<java.lang.Object> equivalence)
Deprecated.
|
(package private) abstract GenericMapMaker<K0,V0> |
GenericMapMaker.maximumSize(int maximumSize)
Deprecated.
See
MapMaker.maximumSize. |
(package private) <K,V> GenericMapMaker<K,V> |
MapMaker.removalListener(MapMaker.RemovalListener<K,V> listener)
Deprecated.
Caching functionality in
MapMaker has been moved to
CacheBuilder, with MapMaker.removalListener(com.google.common.collect.MapMaker.RemovalListener<K, V>) being
replaced by CacheBuilder.removalListener. Note that CacheBuilder is simply an enhanced API for an implementation which was branched from
MapMaker. |
abstract GenericMapMaker<K0,V0> |
GenericMapMaker.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 removal in March 2015. |
abstract GenericMapMaker<K0,V0> |
GenericMapMaker.weakKeys()
Deprecated.
See
MapMaker.weakKeys(). |
abstract GenericMapMaker<K0,V0> |
GenericMapMaker.weakValues()
Deprecated.
|