T - The type of the eventspublic class Trace<T extends Event>
extends java.util.LinkedList<T>
| Constructor and Description |
|---|
Trace()
Creates an empty trace
|
Trace(Trace<T> t)
Creates a trace by copying the contents of another trace
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
Trace<T> |
prefixTo(int index)
Returns the prefix of the trace up to a given position
|
Trace<T> |
suffixFrom(int index)
Returns the suffix of the trace starting from a given position
|
add, add, addAll, addAll, addFirst, addLast, clear, clone, contains, descendingIterator, element, get, getFirst, getLast, indexOf, lastIndexOf, listIterator, offer, offerFirst, offerLast, peek, peekFirst, peekLast, poll, pollFirst, pollLast, pop, push, remove, remove, remove, removeFirst, removeFirstOccurrence, removeLast, removeLastOccurrence, set, size, spliterator, toArray, toArraycontainsAll, isEmpty, removeAll, retainAll, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitpublic Trace<T> prefixTo(int index)
index - The positionpublic Trace<T> suffixFrom(int index)
index - The positionpublic int hashCode()
Copyright © Sylvain HallĂ©. All Rights Reserved.