public class LinkedListStat<E> extends ListWithStat<E>
ListWithStat, and
uses a linked list as the internal data structure.ListWithStat.Node<E>| Constructor and Description |
|---|
LinkedListStat()
Constructs a new list, initially empty.
|
LinkedListStat(java.util.Collection<? extends E> c)
Constructs a list containing the elements of the specified
collection, using the default simulator.
|
LinkedListStat(java.util.Collection<? extends E> c,
java.lang.String name)
Constructs a new list containing the elements of the
specified collection c and with name name, using the default simulator.
|
LinkedListStat(Simulator inSim)
Constructs a new list, initially empty, and using the default simulator.
|
LinkedListStat(Simulator inSim,
java.util.Collection<? extends E> c)
Constructs a list containing the elements of the specified
collection.
|
LinkedListStat(Simulator inSim,
java.util.Collection<? extends E> c,
java.lang.String name)
Constructs a new list containing the elements of the
specified collection c and with name name.
|
LinkedListStat(Simulator inSim,
java.lang.String name)
Constructs a new list with name name.
|
LinkedListStat(java.lang.String name)
Constructs a new list with name name, using the default simulator.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addFirst(E obj) |
void |
addLast(E obj) |
E |
getFirst() |
E |
getLast() |
E |
removeFirst() |
E |
removeLast() |
add, clear, convertFromInnerType, convertToInnerType, getInitTime, getName, getStatCollecting, initStat, iterator, listIterator, listIterator, remove, report, set, setSimulator, setStatCollecting, simulator, statSize, statSojournget, getInnerList, sizeadd, addAll, equals, hashCode, indexOf, lastIndexOf, subListpublic LinkedListStat()
public LinkedListStat(Simulator inSim)
inSim - Simulator associate to the current variable.public LinkedListStat(java.util.Collection<? extends E> c)
c - collection containing elements to fill in this list withpublic LinkedListStat(Simulator inSim, java.util.Collection<? extends E> c)
inSim - Simulator associate to the current variable.c - collection containing elements to fill in this list withpublic LinkedListStat(java.lang.String name)
name - name for the list objectpublic LinkedListStat(Simulator inSim, java.lang.String name)
inSim - Simulator associate to the current variable.name - name for the list objectpublic LinkedListStat(java.util.Collection<? extends E> c, java.lang.String name)
c - collection containing elements to fill in this list withname - name for the list objectpublic LinkedListStat(Simulator inSim, java.util.Collection<? extends E> c, java.lang.String name)
inSim - Simulator associate to the current variable.c - collection containing elements to fill in this list withname - name for the list objectTo submit a bug or ask questions, send an e-mail to Pierre L'Ecuyer.