Class EnvironmentDeque<E extends Serializable>
java.lang.Object
java.util.AbstractCollection<E>
java.util.concurrent.ConcurrentLinkedDeque<E>
net.demilich.metastone.game.environment.EnvironmentDeque<E>
- Type Parameters:
E
- The object type that is held in the stack (typically primitive or immutable).
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<E>
,Collection<E>
,Deque<E>
,Queue<E>
,EnvironmentValue
public class EnvironmentDeque<E extends Serializable>
extends ConcurrentLinkedDeque<E>
implements EnvironmentValue, Serializable
A stack in the environment.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.util.concurrent.ConcurrentLinkedDeque
add, addAll, addFirst, addLast, clear, contains, descendingIterator, element, forEach, getFirst, getLast, isEmpty, iterator, offer, offerFirst, offerLast, peek, peekFirst, peekLast, poll, pollFirst, pollLast, pop, push, remove, remove, removeAll, removeFirst, removeFirstOccurrence, removeIf, removeLast, removeLastOccurrence, retainAll, size, spliterator, toArray, toArray, toString
Methods inherited from class java.util.AbstractCollection
containsAll
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
containsAll, equals, hashCode, parallelStream, stream, toArray
-
Constructor Details
-
EnvironmentDeque
public EnvironmentDeque()
-
-
Method Details
-
getCopy
- Specified by:
getCopy
in interfaceEnvironmentValue
-