25package umontreal.ssj.simevents;
27import java.util.Collection;
28import java.util.LinkedList;
29import java.util.NoSuchElementException;
30import umontreal.ssj.util.PrintfFormat;
53 super(inSim,
new LinkedList<
Node<E>>());
73 super(inSim,
new LinkedList<
Node<E>>(), c);
94 super(inSim,
new LinkedList<
Node<E>>(), name);
119 super(inSim,
new LinkedList<
Node<E>>(), c, name);
129 public void addFirst(E obj) {
133 public void addLast(E obj) {
137 public E getFirst() {
139 throw new NoSuchElementException();
145 throw new NoSuchElementException();
146 return get(size() - 1);
149 public E removeFirst() {
151 throw new NoSuchElementException();
155 public E removeLast() {
157 throw new NoSuchElementException();
158 return remove(size() - 1);
LinkedListStat(Simulator inSim)
Constructs a new list, initially empty, and using the default simulator.
LinkedListStat(Simulator inSim, Collection<? extends E > c)
Constructs a list containing the elements of the specified collection.
LinkedListStat()
Constructs a new list, initially empty.
LinkedListStat(String name)
Constructs a new list with name name, using the default simulator.
LinkedListStat(Collection<? extends E > c)
Constructs a list containing the elements of the specified collection, using the default simulator.
LinkedListStat(Simulator inSim, Collection<? extends E > c, String name)
Constructs a new list containing the elements of the specified collection c and with name name.
LinkedListStat(Collection<? extends E > c, String name)
Constructs a new list containing the elements of the specified collection c and with name name,...
LinkedListStat(Simulator inSim, String name)
Constructs a new list with name name.
Represents a node that can be part of a list with statistical collecting.
ListWithStat(List< Node< E > > nodeList)
Constructs a new list with internal data structure using the default simulator and implemented by nod...
Represents the executive of a discrete-event simulator.
static Simulator getDefaultSimulator()
Returns the default simulator instance used by the deprecated class.