![JAR search and dependency download from the Maven repository](/logo.png)
javadoc.com.google.common.collect.GenericMapMaker.html Maven / Gradle / Ivy
The newest version!
GenericMapMaker (Guava: Google Core Libraries for Java 11.0.1 API)
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV CLASS
NEXT CLASS
FRAMES
NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD
DETAIL: FIELD | CONSTR | METHOD
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 Object
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.
- Since:
- 7.0
- Author:
- Kevin Bourrillion
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 |
---|
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()
- See
MapMaker.weakKeys()
.
softKeys
@Deprecated @GwtIncompatible(value="java.lang.ref.SoftReference") public abstract GenericMapMaker<K0,V0> softKeys()
- Deprecated.
- See
MapMaker.softKeys()
. - See
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()
expiration
@Deprecated public abstract GenericMapMaker<K0,V0> expiration(long duration, TimeUnit unit)
- Deprecated.
- See
MapMaker.expiration(long, java.util.concurrent.TimeUnit)
. - See
makeMap
public abstract <K extends K0,V extends V0> ConcurrentMap<K,V> makeMap()
- See
MapMaker.makeMap()
.
makeComputingMap
@Deprecated public abstract <K extends K0,V extends V0> ConcurrentMap<K,V> makeComputingMap(Function<? super K,? extends V> computingFunction)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2010-2012. All Rights Reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy