|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.common.collect.GenericMapMaker<K0,V0>
K0
- the base type for all key types of maps built by this map makerV0
- the base type for all value types of maps built by this map maker@Beta @GwtCompatible(emulated=true) public abstract class GenericMapMaker<K0,V0>
A class exactly like MapMaker
, except restricted in the types of maps it can build.
For the most part, you should probably just ignore the existence of this class.
Method Summary | ||
---|---|---|
abstract GenericMapMaker<K0,V0> |
concurrencyLevel(int concurrencyLevel)
See MapMaker.concurrencyLevel . |
|
abstract GenericMapMaker<K0,V0> |
expiration(long duration,
TimeUnit unit)
Deprecated. |
|
abstract GenericMapMaker<K0,V0> |
initialCapacity(int initialCapacity)
See MapMaker.initialCapacity . |
|
abstract
|
makeComputingMap(Function<? super K,? extends V> computingFunction)
Deprecated. |
|
abstract
|
makeMap()
See MapMaker.makeMap() . |
|
abstract GenericMapMaker<K0,V0> |
softKeys()
Deprecated. |
|
abstract GenericMapMaker<K0,V0> |
softValues()
See MapMaker.softValues() . |
|
abstract GenericMapMaker<K0,V0> |
weakKeys()
See MapMaker.weakKeys() . |
|
abstract GenericMapMaker<K0,V0> |
weakValues()
See MapMaker.weakValues() . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public abstract GenericMapMaker<K0,V0> initialCapacity(int initialCapacity)
MapMaker.initialCapacity
.
public abstract GenericMapMaker<K0,V0> concurrencyLevel(int concurrencyLevel)
MapMaker.concurrencyLevel
.
@GwtIncompatible(value="java.lang.ref.WeakReference") public abstract GenericMapMaker<K0,V0> weakKeys()
MapMaker.weakKeys()
.
@Deprecated @GwtIncompatible(value="java.lang.ref.SoftReference") public abstract GenericMapMaker<K0,V0> softKeys()
MapMaker.softKeys()
.
@GwtIncompatible(value="java.lang.ref.WeakReference") public abstract GenericMapMaker<K0,V0> weakValues()
MapMaker.weakValues()
.
@GwtIncompatible(value="java.lang.ref.SoftReference") public abstract GenericMapMaker<K0,V0> softValues()
MapMaker.softValues()
.
@Deprecated public abstract GenericMapMaker<K0,V0> expiration(long duration, TimeUnit unit)
MapMaker.expiration(long, java.util.concurrent.TimeUnit)
.
public abstract <K extends K0,V extends V0> ConcurrentMap<K,V> makeMap()
MapMaker.makeMap()
.
@Deprecated public abstract <K extends K0,V extends V0> ConcurrentMap<K,V> makeComputingMap(Function<? super K,? extends V> computingFunction)
MapMaker.makeComputingMap(com.google.common.base.Function super K, ? extends V>)
.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |