Package com.macrofocus.common.collection

# Class JavaCollectionFactory

java.lang.Object
com.macrofocus.common.collection.JavaCollectionFactory

All Implemented Interfaces:
  `CollectionFactory`

public class JavaCollectionFactory extends Object implements CollectionFactory

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `JavaCollectionFactory()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `<K, V> Map<K,V>`
  `concurrentHashMap()`
  `<T> Set<T>`
  `concurrentLinkedHashSet()`
  `<T> List<T>`
  `copyOnWriteArrayList()`
  `<T> Set<T>`
  `linkedHashSet()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### JavaCollectionFactory

    public JavaCollectionFactory()

- ## Method Details

  - ### copyOnWriteArrayList

    public <T> List<T> copyOnWriteArrayList()
    Specified by:
      `copyOnWriteArrayList` in interface `CollectionFactory`

  - ### concurrentHashMap

    public <K, V> Map<K,V> concurrentHashMap()
    Specified by:
      `concurrentHashMap` in interface `CollectionFactory`

  - ### linkedHashSet

    public <T> Set<T> linkedHashSet()
    Specified by:
      `linkedHashSet` in interface `CollectionFactory`

  - ### concurrentLinkedHashSet

    public <T> Set<T> concurrentLinkedHashSet()
    Specified by:
      `concurrentLinkedHashSet` in interface `CollectionFactory`