static class NaiveTxnHashSet.It<E> extends AbstractTxnIterator<E>
Modifier and Type | Field and Description |
---|---|
private TxnIterator<java.util.Map.Entry<E,java.lang.Object>> |
iterator |
Constructor and Description |
---|
It(TxnIterator<java.util.Map.Entry<E,java.lang.Object>> iterator) |
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext(Txn tx)
Returns true if the iteration has more elements.
|
E |
next(Txn tx)
Returns the next element in the iteration.
|
void |
remove(Txn tx)
Removes from the underlying collection the last element returned by the
iterator (optional operation).
|
hasNext, next, remove
private final TxnIterator<java.util.Map.Entry<E,java.lang.Object>> iterator
It(TxnIterator<java.util.Map.Entry<E,java.lang.Object>> iterator)
public boolean hasNext(Txn tx)
TxnIterator
tx
- Txn used for this operationpublic E next(Txn tx)
TxnIterator
tx
- Txn used for this operationpublic void remove(Txn tx)
TxnIterator
tx
- Txn used for this operation