question: public void addEntryTime ( double time ) { if ( entryTimes == null ) { return ; } if ( time < 0 ) { time = 0.0 ; } entryTimes . add ( Double . valueOf ( time ) ) ; }
target:  Register the time the packet arrives at an entity such as a Router or CloudResource. This method should be called by routers and other entities when the InfoPacket reaches them along with the current simulation time.