org.multiverse.collections
Class NaiveTxnCollectionFactory
java.lang.Object
org.multiverse.collections.NaiveTxnCollectionFactory
- All Implemented Interfaces:
- TxnCollectionsFactory
public final class NaiveTxnCollectionFactory
- extends Object
- implements TxnCollectionsFactory
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NaiveTxnCollectionFactory
public NaiveTxnCollectionFactory(Stm stm)
getStm
public Stm getStm()
- Specified by:
getStm in interface TxnCollectionsFactory
newStack
public <E> NaiveTxnStack<E> newStack()
- Specified by:
newStack in interface TxnCollectionsFactory
newStack
public <E> TxnStack<E> newStack(int capacity)
- Specified by:
newStack in interface TxnCollectionsFactory
newQueue
public <E> NaiveTxnLinkedList<E> newQueue()
- Specified by:
newQueue in interface TxnCollectionsFactory
newQueue
public <E> NaiveTxnLinkedList<E> newQueue(int capacity)
- Specified by:
newQueue in interface TxnCollectionsFactory
newDeque
public <E> NaiveTxnLinkedList<E> newDeque()
- Specified by:
newDeque in interface TxnCollectionsFactory
newDeque
public <E> NaiveTxnLinkedList<E> newDeque(int capacity)
- Specified by:
newDeque in interface TxnCollectionsFactory
newHashSet
public <E> NaiveTxnHashSet<E> newHashSet()
- Specified by:
newHashSet in interface TxnCollectionsFactory
newHashMap
public <K,V> NaiveTxnHashMap<K,V> newHashMap()
- Specified by:
newHashMap in interface TxnCollectionsFactory
newLinkedList
public <E> NaiveTxnLinkedList<E> newLinkedList()
- Specified by:
newLinkedList in interface TxnCollectionsFactory
Copyright © 2012. All Rights Reserved.