com.google.common.collect
Class GenericMapMaker<K0,V0>
- java.lang.Object
-
- com.google.common.collect.GenericMapMaker<K0,V0>
-
- Type Parameters:
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
- Direct Known Subclasses:
- MapMaker
@Beta @GwtCompatible(emulated=true) public abstract class GenericMapMaker<K0,V0> extends java.lang.Object
A class exactly likeMapMaker, except restricted in the types of maps it can build. For the most part, you should probably just ignore the existence of this class.- Since:
- 7.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method and Description abstract GenericMapMaker<K0,V0>concurrencyLevel(int concurrencyLevel)abstract GenericMapMaker<K0,V0>initialCapacity(int initialCapacity)abstract <K extends K0,V extends V0>
java.util.concurrent.ConcurrentMap<K,V>makeComputingMap(Function<? super K,? extends V> computingFunction)Deprecated.abstract <K extends K0,V extends V0>
java.util.concurrent.ConcurrentMap<K,V>makeMap()SeeMapMaker.makeMap().abstract GenericMapMaker<K0,V0>softValues()abstract GenericMapMaker<K0,V0>weakKeys()SeeMapMaker.weakKeys().abstract GenericMapMaker<K0,V0>weakValues()
-
-
-
Method Detail
-
initialCapacity
public abstract GenericMapMaker<K0,V0> initialCapacity(int initialCapacity)
-
concurrencyLevel
public abstract GenericMapMaker<K0,V0> concurrencyLevel(int concurrencyLevel)
-
weakKeys
@GwtIncompatible(value="java.lang.ref.WeakReference") public abstract GenericMapMaker<K0,V0> weakKeys()
SeeMapMaker.weakKeys().
-
weakValues
@GwtIncompatible(value="java.lang.ref.WeakReference") public abstract GenericMapMaker<K0,V0> weakValues()
-
softValues
@GwtIncompatible(value="java.lang.ref.SoftReference") public abstract GenericMapMaker<K0,V0> softValues()
-
makeMap
public abstract <K extends K0,V extends V0> java.util.concurrent.ConcurrentMap<K,V> makeMap()
SeeMapMaker.makeMap().
-
-
DMelt 3.0 © DataMelt by jWork.ORG