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 StmgetStm()<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)
-
-
-
Field Detail
-
stm
private final Stm stm
-
-
Constructor Detail
-
NaiveTxnCollectionFactory
public NaiveTxnCollectionFactory(Stm stm)
-
-
Method Detail
-
getStm
public Stm getStm()
- Specified by:
getStmin interfaceTxnCollectionsFactory
-
newStack
public <E> NaiveTxnStack<E> newStack()
- Specified by:
newStackin interfaceTxnCollectionsFactory
-
newStack
public <E> TxnStack<E> newStack(int capacity)
- Specified by:
newStackin interfaceTxnCollectionsFactory
-
newQueue
public <E> NaiveTxnLinkedList<E> newQueue()
- Specified by:
newQueuein interfaceTxnCollectionsFactory
-
newQueue
public <E> NaiveTxnLinkedList<E> newQueue(int capacity)
- Specified by:
newQueuein interfaceTxnCollectionsFactory
-
newDeque
public <E> NaiveTxnLinkedList<E> newDeque()
- Specified by:
newDequein interfaceTxnCollectionsFactory
-
newDeque
public <E> NaiveTxnLinkedList<E> newDeque(int capacity)
- Specified by:
newDequein interfaceTxnCollectionsFactory
-
newHashSet
public <E> NaiveTxnHashSet<E> newHashSet()
- Specified by:
newHashSetin interfaceTxnCollectionsFactory
-
newHashMap
public <K,V> NaiveTxnHashMap<K,V> newHashMap()
- Specified by:
newHashMapin interfaceTxnCollectionsFactory
-
newLinkedList
public <E> NaiveTxnLinkedList<E> newLinkedList()
- Specified by:
newLinkedListin interfaceTxnCollectionsFactory
-
-