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)
|
abstract GenericMapMaker<K0,V0> |
GenericMapMaker.initialCapacity(int initialCapacity)
|
abstract GenericMapMaker<K0,V0> |
GenericMapMaker.softValues()
|
abstract GenericMapMaker<K0,V0> |
GenericMapMaker.weakKeys()
See
MapMaker.weakKeys() . |
abstract GenericMapMaker<K0,V0> |
GenericMapMaker.weakValues()
|
Modifier and Type | Method and Description |
---|---|
static <E> ConcurrentHashMultiset<E> |
ConcurrentHashMultiset.create(GenericMapMaker<? super E,? super Number> mapMaker)
Creates a new, empty
ConcurrentHashMultiset using mapMaker
to construct the internal backing map. |
Copyright © 2010-2013. All Rights Reserved.