Class TestExecutionStack<T extends TestExecution>
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.ArrayDeque<T>
-
- cloud.filibuster.junit.server.core.TestExecutionStack<T>
-
- All Implemented Interfaces:
TestExecutionCollection<T>
,java.io.Serializable
,java.lang.Cloneable
,java.lang.Iterable<T>
,java.util.Collection<T>
,java.util.Deque<T>
,java.util.Queue<T>
public class TestExecutionStack<T extends TestExecution> extends java.util.ArrayDeque<T> implements TestExecutionCollection<T>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TestExecutionStack()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addTestExecution(T testExecution)
boolean
containsAbstractTestExecution(TestExecution te)
boolean
containsTestExecution(T testExecution)
T
removeAndReturnNextTestExecution()
-
Methods inherited from class java.util.ArrayDeque
add, addAll, addFirst, addLast, clear, clone, 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
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.util.Collection
containsAll, equals, hashCode, parallelStream, stream, toArray
-
Methods inherited from interface cloud.filibuster.junit.server.core.TestExecutionCollection
isEmpty, size
-
-
-
-
Method Detail
-
containsAbstractTestExecution
public boolean containsAbstractTestExecution(TestExecution te)
- Specified by:
containsAbstractTestExecution
in interfaceTestExecutionCollection<T extends TestExecution>
-
containsTestExecution
public boolean containsTestExecution(T testExecution)
- Specified by:
containsTestExecution
in interfaceTestExecutionCollection<T extends TestExecution>
-
removeAndReturnNextTestExecution
public T removeAndReturnNextTestExecution()
- Specified by:
removeAndReturnNextTestExecution
in interfaceTestExecutionCollection<T extends TestExecution>
-
addTestExecution
public void addTestExecution(T testExecution)
- Specified by:
addTestExecution
in interfaceTestExecutionCollection<T extends TestExecution>
-
-