SSJ  3.3.1
Stochastic Simulation in Java
Public Member Functions | List of all members
ListWithStat< E >.Node< E > Class Template Reference

Represents a node that can be part of a list with statistical collecting. More...

Public Member Functions

 Node (E element, double insertionTime)
 Constructs a new node containing element element inserted into the list at time insertionTime. More...
 
getElement ()
 Returns the element stored into this node. More...
 
double getInsertionTime ()
 Returns the insertion time of the element in this node. More...
 
String toString ()
 

Detailed Description

Represents a node that can be part of a list with statistical collecting.

Constructor & Destructor Documentation

◆ Node()

Node ( element,
double  insertionTime 
)

Constructs a new node containing element element inserted into the list at time insertionTime.

Parameters
elementthe element to add into this new node
insertionTimethe insertion time of the element

Member Function Documentation

◆ getElement()

E getElement ( )

Returns the element stored into this node.

Returns
the element into this node

◆ getInsertionTime()

double getInsertionTime ( )

Returns the insertion time of the element in this node.

Returns
the insertion time of the element

The documentation for this class was generated from the following file: