C# Class SimEvtList, plausible-deniability

Show file Open project: ad510/plausible-deniability

Public Methods

Method Description
addEvt ( this events, SimEvt, evt ) : void

inserts specified event into list in order of ascending event time

peekTime ( this events ) : long

returns time of first (earliest) event in list, or long.MaxValue if list is empty

pop ( this events ) : SimEvt,

pops the first (earliest) event from the list, returning null if list is empty

Method Details

addEvt() public static method

inserts specified event into list in order of ascending event time
public static addEvt ( this events, SimEvt, evt ) : void
events this
evt SimEvt,
return void

peekTime() public static method

returns time of first (earliest) event in list, or long.MaxValue if list is empty
public static peekTime ( this events ) : long
events this
return long

pop() public static method

pops the first (earliest) event from the list, returning null if list is empty
public static pop ( this events ) : SimEvt,
events this
return SimEvt,