org.multiverse.api.collections
Interface TxnStack<E>
- Type Parameters:
E -
- All Superinterfaces:
- Collection<E>, Iterable<E>, TxnCollection<E>, TxnIterable<E>
- All Known Implementing Classes:
- NaiveTxnStack
public interface TxnStack<E>
- extends TxnCollection<E>
- Author:
- Peter Veentjer.
| Methods inherited from interface org.multiverse.api.collections.TxnCollection |
add, addAll, addAll, addAll, clear, contains, containsAll, getStm, isEmpty, remove, size, toString |
| Methods inherited from interface java.util.Collection |
add, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray |
getCapacity
int getCapacity()
push
void push(E item)
push
void push(Txn txn,
E item)
offer
boolean offer(E item)
offer
boolean offer(Txn txn,
E item)
pop
E pop()
pop
E pop(Txn txn)
poll
E poll()
poll
E poll(Txn txn)
peek
E peek()
peek
E peek(Txn txn)
Copyright © 2012. All Rights Reserved.