Uses of Class
org.apache.commons.collections4.map.ConcurrentReferenceHashMap.Builder
Package
Description
-
Uses of ConcurrentReferenceHashMap.Builder in org.apache.commons.collections4.map
Modifier and TypeMethodDescriptionstatic <K,
V> ConcurrentReferenceHashMap.Builder <K, V> ConcurrentReferenceHashMap.builder()
Creates a new Builder.ConcurrentReferenceHashMap.Builder.setConcurrencyLevel
(int concurrencyLevel) Sets the estimated number of concurrently updating threads.ConcurrentReferenceHashMap.Builder.setInitialCapacity
(int initialCapacity) Sets the initial capacity.ConcurrentReferenceHashMap.Builder.setKeyReferenceType
(ConcurrentReferenceHashMap.ReferenceType keyReferenceType) Sets the reference type to use for keys.ConcurrentReferenceHashMap.Builder.setLoadFactor
(float loadFactor) Sets the load factor factor, used to control resizing.ConcurrentReferenceHashMap.Builder.setOptions
(EnumSet<ConcurrentReferenceHashMap.Option> options) Sets the behavioral options.ConcurrentReferenceHashMap.Builder.setSourceMap
(Map<? extends K, ? extends V> sourceMap) Sets the values to load into a new map.ConcurrentReferenceHashMap.Builder.setValueReferenceType
(ConcurrentReferenceHashMap.ReferenceType valueReferenceType) Sets the reference type to use for values.ConcurrentReferenceHashMap.Builder.softKeys()
Sets key reference type toConcurrentReferenceHashMap.ReferenceType.SOFT
.ConcurrentReferenceHashMap.Builder.softValues()
Sets value reference type toConcurrentReferenceHashMap.ReferenceType.SOFT
.ConcurrentReferenceHashMap.Builder.strongKeys()
Sets key reference type toConcurrentReferenceHashMap.ReferenceType.STRONG
.ConcurrentReferenceHashMap.Builder.strongValues()
Sets value reference type toConcurrentReferenceHashMap.ReferenceType.STRONG
.ConcurrentReferenceHashMap.Builder.weakKeys()
Sets key reference type toConcurrentReferenceHashMap.ReferenceType.WEAK
.ConcurrentReferenceHashMap.Builder.weakValues()
Sets value reference type toConcurrentReferenceHashMap.ReferenceType.WEAK
.