|
||||||||||
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.
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
.
@Beta @Deprecated public abstract GenericMapMaker<K0,V0> maximumSize(int maximumSize)
MapMaker.maximumSize
.
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)
.
@Deprecated public abstract GenericMapMaker<K0,V0> expireAfterWrite(long duration, TimeUnit unit)
MapMaker.expireAfterWrite(long, java.util.concurrent.TimeUnit)
.
@GwtIncompatible(value="To be supported") @Deprecated public abstract GenericMapMaker<K0,V0> expireAfterAccess(long duration, TimeUnit unit)
MapMaker.expireAfterAccess(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 |