Class ConcurrentLinkedHashMap.Builder<K,V>

java.lang.Object
org.miaixz.bus.core.center.map.concurrent.ConcurrentLinkedHashMap.Builder<K,V>
Type Parameters:
K - key类型
V - 值类型
Enclosing class:
ConcurrentLinkedHashMap<K,V>

public static final class ConcurrentLinkedHashMap.Builder<K,V> extends Object
A builder that creates ConcurrentLinkedHashMap instances. It provides a flexible approach for constructing customized instances with a named parameter syntax. It can be used in the following manner:

 ConcurrentMap<Vertex, Set<Edge>> graph = new Builder<Vertex, Set<Edge>>().maximumWeightedCapacity(5000)
         .weigher(Weighers.<Edge>set()).build();