SimEventNull

final class SimEventNull implements SimEvent

A class that implements the Null Object Design Pattern for SimEvent class.

Author:Manoel Campos da Silva Filho

See also: SimEvent.NULL

Methods

compareTo

public int compareTo(SimEvent evt)

getData

public Object getData()

getDestination

public SimEntity getDestination()

getEndWaitingTime

public double getEndWaitingTime()

getListener

public EventListener<EventInfo> getListener()

getSerial

public long getSerial()

getSimulation

public Simulation getSimulation()

getSource

public SimEntity getSource()

getTag

public int getTag()

getTime

public double getTime()

getType

public Type getType()

scheduledBy

public SimEntity scheduledBy()

setDestination

public SimEvent setDestination(SimEntity destination)

setSerial

public void setSerial(long serial)

setSimulation

public SimEvent setSimulation(Simulation simulation)

setSource

public SimEvent setSource(SimEntity source)