Interface TxnIterable<E>
- Type Parameters:
E-
- All Superinterfaces:
Iterable<E>
- All Known Subinterfaces:
TxnCollection<E>, TxnDeque<E>, TxnList<E>, TxnQueue<E>, TxnSet<E>, TxnStack<E>
- All Known Implementing Classes:
AbstractTxnCollection, NaiveTxnHashSet, NaiveTxnLinkedList, NaiveTxnStack
-
Method Summary
Modifier and TypeMethodDescriptioniterator()Returns an iterator over a set of elements of type T.Methods inherited from interface Iterable
forEach, spliterator
-
Method Details
-
iterator
Returns an iterator over a set of elements of type T.- Parameters:
txn- the Txn used for this Operation.- Returns:
- an Iterator.
-
iterator
TxnIterator<E> iterator()
-