javadoc.com.google.common.collect.class-use.MapMaker.html Maven / Gradle / Ivy
The newest version!
Uses of Class com.google.common.collect.MapMaker (Guava: Google Core Libraries for Java 11.0.1 API)
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV
NEXT
FRAMES
NO FRAMES
Uses of Class
com.google.common.collect.MapMaker
Packages that use MapMaker
com.google.common.collect
This package contains generic collection interfaces and implementations, and
other utilities for working with collections.
Uses of MapMaker in com.google.common.collect
Methods in com.google.common.collect that return MapMaker
MapMaker
MapMaker.concurrencyLevel(int concurrencyLevel)
Guides the allowed concurrency among update operations.
MapMaker
MapMaker.expiration(long duration,
TimeUnit unit)
Deprecated. Caching functionality in MapMaker
is being moved to
CacheBuilder
. Functionality equivalent to
expiration(long, java.util.concurrent.TimeUnit)
is provided by
CacheBuilder.expireAfterWrite(long, java.util.concurrent.TimeUnit)
.
This method is scheduled for deletion in July 2012.
MapMaker
MapMaker.initialCapacity(int initialCapacity)
Sets the minimum total size for the internal hash tables.
MapMaker
MapMaker.softKeys()
Deprecated. use softValues()
to create a memory-sensitive map, or weakKeys()
to
create a map that doesn't hold strong references to the keys.
This method is scheduled for deletion in January 2013.
MapMaker
MapMaker.softValues()
Specifies that each value (not key) stored in the map should be wrapped in a
SoftReference
(by default, strong references are used).
MapMaker
MapMaker.weakKeys()
Specifies that each key (not value) stored in the map should be wrapped in a WeakReference
(by default, strong references are used).
MapMaker
MapMaker.weakValues()
Specifies that each value (not key) stored in the map should be wrapped in a
WeakReference
(by default, strong references are used).
Overview
Package
Class
Use
Tree
Deprecated
Index
Help
PREV
NEXT
FRAMES
NO FRAMES
Copyright © 2010-2012. All Rights Reserved.
© 2015 - 2025 Weber Informatics LLC | Privacy Policy