public final class NaiveTxnCollectionFactory extends Object implements TxnCollectionsFactory
| Constructor and Description |
|---|
NaiveTxnCollectionFactory(Stm stm) |
| Modifier and Type | Method and 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) |
public NaiveTxnCollectionFactory(Stm stm)
public Stm getStm()
getStm in interface TxnCollectionsFactorypublic <E> NaiveTxnStack<E> newStack()
newStack in interface TxnCollectionsFactorypublic <E> TxnStack<E> newStack(int capacity)
newStack in interface TxnCollectionsFactorypublic <E> NaiveTxnLinkedList<E> newQueue()
newQueue in interface TxnCollectionsFactorypublic <E> NaiveTxnLinkedList<E> newQueue(int capacity)
newQueue in interface TxnCollectionsFactorypublic <E> NaiveTxnLinkedList<E> newDeque()
newDeque in interface TxnCollectionsFactorypublic <E> NaiveTxnLinkedList<E> newDeque(int capacity)
newDeque in interface TxnCollectionsFactorypublic <E> NaiveTxnHashSet<E> newHashSet()
newHashSet in interface TxnCollectionsFactorypublic <K,V> NaiveTxnHashMap<K,V> newHashMap()
newHashMap in interface TxnCollectionsFactorypublic <E> NaiveTxnLinkedList<E> newLinkedList()
newLinkedList in interface TxnCollectionsFactoryCopyright © 2025. All rights reserved.