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 TxnCollectionsFactory
public <E> NaiveTxnStack<E> newStack()
newStack
in interface TxnCollectionsFactory
public <E> TxnStack<E> newStack(int capacity)
newStack
in interface TxnCollectionsFactory
public <E> NaiveTxnLinkedList<E> newQueue()
newQueue
in interface TxnCollectionsFactory
public <E> NaiveTxnLinkedList<E> newQueue(int capacity)
newQueue
in interface TxnCollectionsFactory
public <E> NaiveTxnLinkedList<E> newDeque()
newDeque
in interface TxnCollectionsFactory
public <E> NaiveTxnLinkedList<E> newDeque(int capacity)
newDeque
in interface TxnCollectionsFactory
public <E> NaiveTxnHashSet<E> newHashSet()
newHashSet
in interface TxnCollectionsFactory
public <K,V> NaiveTxnHashMap<K,V> newHashMap()
newHashMap
in interface TxnCollectionsFactory
public <E> NaiveTxnLinkedList<E> newLinkedList()
newLinkedList
in interface TxnCollectionsFactory
Copyright © 2020. All rights reserved.