public final class CollectionUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static <K,V> ConcurrentMap<K,V> |
newConcurrentMap()
Creates a new concurrent map using the default implementation.
|
static <V> Set<V> |
newConcurrentSet()
Creates a new concurrent set from a
ConcurrentMap. |
public static <K,V> ConcurrentMap<K,V> newConcurrentMap()
K - The type of keys maintained by this map.V - The type of mapped values.public static <V> Set<V> newConcurrentSet()
ConcurrentMap.V - The value type.Copyright © 2017 Cooking Fox. All rights reserved.