public void addEntryTime(double time){
  if (entryTimes == null) {
    return;
  }
  if (time < 0) {
    time=0.0;
  }
  entryTimes.add(Double.valueOf(time));
}

public void addEntryTime ( double time ) { if ( entryTimes == null ) { return ; } if ( time < 0 ) { time = 0.0 ; } entryTimes . add ( Double . valueOf ( time ) ) ; }
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 .
