Package org.multiverse.collections
Class NaiveTxnCollectionFactory
- java.lang.Object
-
- org.multiverse.collections.NaiveTxnCollectionFactory
-
- All Implemented Interfaces:
TxnCollectionsFactory
public final class NaiveTxnCollectionFactory extends java.lang.Object implements TxnCollectionsFactory
-
-
Constructor Summary
Constructors Constructor Description NaiveTxnCollectionFactory(Stm stm)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stm
getStm()
<E> NaiveTxnLinkedList<E>
newDeque()
<E> NaiveTxnLinkedList<E>
newDeque(int capacity)
<K,V>
NaiveTxnHashMap<K,V>newHashMap()
<E> NaiveTxnHashSet<E>
newHashSet()
<E> NaiveTxnLinkedList<E>
newLinkedList()
<E> NaiveTxnLinkedList<E>
newQueue()
<E> NaiveTxnLinkedList<E>
newQueue(int capacity)
<E> NaiveTxnStack<E>
newStack()
<E> TxnStack<E>
newStack(int capacity)
-
-
-
Constructor Detail
-
NaiveTxnCollectionFactory
public NaiveTxnCollectionFactory(Stm stm)
-
-
Method Detail
-
getStm
public Stm getStm()
- Specified by:
getStm
in interfaceTxnCollectionsFactory
-
newStack
public <E> NaiveTxnStack<E> newStack()
- Specified by:
newStack
in interfaceTxnCollectionsFactory
-
newStack
public <E> TxnStack<E> newStack(int capacity)
- Specified by:
newStack
in interfaceTxnCollectionsFactory
-
newQueue
public <E> NaiveTxnLinkedList<E> newQueue()
- Specified by:
newQueue
in interfaceTxnCollectionsFactory
-
newQueue
public <E> NaiveTxnLinkedList<E> newQueue(int capacity)
- Specified by:
newQueue
in interfaceTxnCollectionsFactory
-
newDeque
public <E> NaiveTxnLinkedList<E> newDeque()
- Specified by:
newDeque
in interfaceTxnCollectionsFactory
-
newDeque
public <E> NaiveTxnLinkedList<E> newDeque(int capacity)
- Specified by:
newDeque
in interfaceTxnCollectionsFactory
-
newHashSet
public <E> NaiveTxnHashSet<E> newHashSet()
- Specified by:
newHashSet
in interfaceTxnCollectionsFactory
-
newHashMap
public <K,V> NaiveTxnHashMap<K,V> newHashMap()
- Specified by:
newHashMap
in interfaceTxnCollectionsFactory
-
newLinkedList
public <E> NaiveTxnLinkedList<E> newLinkedList()
- Specified by:
newLinkedList
in interfaceTxnCollectionsFactory
-
-