Uses of Class
com.google.common.collect.MapMaker
Packages that use MapMaker
Package
Description
Collection interfaces and implementations, and other utilities for collections.
-
Uses of MapMaker in com.google.common.collect
Fields in com.google.common.collect declared as MapMakerMethods in com.google.common.collect that return MapMakerModifier and TypeMethodDescriptionMapMaker.concurrencyLevel
(int concurrencyLevel) Guides the allowed concurrency among update operations.MapMaker.initialCapacity
(int initialCapacity) Sets the minimum total size for the internal hash tables.(package private) MapMaker
MapMaker.keyEquivalence
(Equivalence<Object> equivalence) Sets a customEquivalence
strategy for comparing keys.(package private) MapMaker
MapMakerInternalMap.AbstractSerializationProxy.readMapMaker
(ObjectInputStream in) (package private) MapMaker
MapMaker.setKeyStrength
(MapMakerInternalMap.Strength strength) (package private) MapMaker
MapMaker.setValueStrength
(MapMakerInternalMap.Strength strength) (package private) static MapMaker
Platform.tryWeakKeys
(MapMaker mapMaker) Configures the given map maker to use weak keys, if possible; does nothing otherwise (i.e., in GWT).MapMaker.weakKeys()
Specifies that each key (not value) stored in the map should be wrapped in aWeakReference
(by default, strong references are used).MapMaker.weakValues()
Specifies that each value (not key) stored in the map should be wrapped in aWeakReference
(by default, strong references are used).Methods in com.google.common.collect with parameters of type MapMakerModifier and TypeMethodDescription(package private) static <K,
V> MapMakerInternalMap <K, V, ? extends MapMakerInternalMap.InternalEntry<K, V, ?>, ?> Returns a freshMapMakerInternalMap
as specified by the givenbuilder
.(package private) static <K> MapMakerInternalMap
<K, MapMaker.Dummy, ? extends MapMakerInternalMap.InternalEntry<K, MapMaker.Dummy, ?>, ?> MapMakerInternalMap.createWithDummyValues
(MapMaker builder) Returns a freshMapMakerInternalMap
withMapMaker.Dummy
values but otherwise as specified by the givenbuilder
.(package private) static MapMaker
Platform.tryWeakKeys
(MapMaker mapMaker) Configures the given map maker to use weak keys, if possible; does nothing otherwise (i.e., in GWT).Constructors in com.google.common.collect with parameters of type MapMakerModifierConstructorDescriptionprivate
InternerImpl
(MapMaker mapMaker) private
MapMakerInternalMap
(MapMaker builder, MapMakerInternalMap.InternalEntryHelper<K, V, E, S> entryHelper) Creates a new, empty map with the specified strategy, initial capacity and concurrency level.