public class CollectionsFactory extends Object
Constructor and Description |
---|
CollectionsFactory() |
Modifier and Type | Method and Description |
---|---|
static <K,V> Map<K,V> |
createConcurrentReaderMap()
Defines the concurrent map implementation
|
static <T> Set<T> |
createConcurrentReferenceSet()
Defines the concurrent reference set implementation
|
static <T> Set<T> |
createConcurrentSet()
Defines the concurrent set implementation
|
static <T> List<T> |
createCopyOnWriteList()
Defines the concurrent list implementation
|
static <T> Set<T> |
createCopyOnWriteSet()
Defines the concurrent set implementation
|
static <T> List<T> |
createLazyList()
Defines the list implementation
|
static <K,V> Map<K,V> |
createLazyMap()
Defines the map implementation
|
static <T> Set<T> |
createLazySet()
Defines the set implementation
|
public static final <K,V> Map<K,V> createLazyMap()
K
- the key typeV
- the value typepublic static final <T> List<T> createLazyList()
T
- the typepublic static final <T> Set<T> createLazySet()
T
- the typepublic static final <K,V> Map<K,V> createConcurrentReaderMap()
K
- the key typeV
- the value typepublic static final <T> List<T> createCopyOnWriteList()
T
- the typepublic static final <T> Set<T> createCopyOnWriteSet()
T
- the typepublic static final <T> Set<T> createConcurrentSet()
T
- the typepublic static final <T> Set<T> createConcurrentReferenceSet()
T
- the typeCopyright © 2018 JBoss by Red Hat. All rights reserved.