Documentation of 'umontreal.iro.lecuyer.simevents.LinkedListStat' Java class
LinkedListStat
umontreal.iro.lecuyer.simevents

Class LinkedListStat<E>

  • All Implemented Interfaces:
    java.lang.Iterable<E>, java.util.Collection<E>, java.util.List<E>


    public class LinkedListStat<E>
    extends ListWithStat<E>
    This class extends ListWithStat, and uses a linked list as the internal data structure.
    • Constructor Detail

      • LinkedListStat

        public LinkedListStat()
        Constructs a new list, initially empty.
      • LinkedListStat

        public LinkedListStat(Simulator inSim)
        Constructs a new list, initially empty, and using the default simulator.
        Parameters:
        inSim - Simulator associate to the current variable.
      • LinkedListStat

        public LinkedListStat(java.util.Collection<? extends E> c)
        Constructs a list containing the elements of the specified collection, using the default simulator.
        Parameters:
        c - collection containing elements to fill in this list with
      • LinkedListStat

        public LinkedListStat(Simulator inSim,
                              java.util.Collection<? extends E> c)
        Constructs a list containing the elements of the specified collection.
        Parameters:
        inSim - Simulator associate to the current variable.
        c - collection containing elements to fill in this list with
      • LinkedListStat

        public LinkedListStat(java.lang.String name)
        Constructs a new list with name name, using the default simulator. This name can be used to identify the list in traces and reports.
        Parameters:
        name - name for the list object
      • LinkedListStat

        public LinkedListStat(Simulator inSim,
                              java.lang.String name)
        Constructs a new list with name name. This name can be used to identify the list in traces and reports.
        Parameters:
        inSim - Simulator associate to the current variable.
        name - name for the list object
      • LinkedListStat

        public 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. This name can be used to identify the list in traces and reports.
        Parameters:
        c - collection containing elements to fill in this list with
        name - name for the list object
      • LinkedListStat

        public 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. This name can be used to identify the list in traces and reports.
        Parameters:
        inSim - Simulator associate to the current variable.
        c - collection containing elements to fill in this list with
        name - name for the list object
    • Method Detail

      • addFirst

        public void addFirst(E obj)
      • addLast

        public void addLast(E obj)
      • getFirst

        public E getFirst()
      • getLast

        public E getLast()
      • removeFirst

        public E removeFirst()
      • removeLast

        public E removeLast()

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.