C# Class SimEvtList, plausible-deniability

Afficher le fichier Open project: ad510/plausible-deniability

Méthodes publiques

Méthode 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 méthode

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

peekTime() public static méthode

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

pop() public static méthode

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