org.multiverse.api.collections
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

public interface TxnIterable<E>
extends Iterable<E>

Author:
Peter Veentjer.

Method Summary
 TxnIterator<E> iterator()
           
 TxnIterator<E> iterator(Txn txn)
          Returns an iterator over a set of elements of type T.
 

Method Detail

iterator

TxnIterator<E> iterator(Txn txn)
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()
Specified by:
iterator in interface Iterable<E>


Copyright © 2012. All Rights Reserved.