package nl.tudelft.simulation.examples.dsol.mm1queue; /** * A truly basic customer for the DSOL framework.
* Copyright (c) 2003-2019 Delft University of Technology , the Netherlands.
* See for project information www.simulation.tudelft.nl
* License of use: General Public License (GPL) , no warranty
* @author Peter Jacobs */ public class Customer { /** entranceTime refers to the time when the customer entered the queue. */ private double entranceTime = Double.NaN; /** * constructs a new Customer. */ public Customer() { super(); } /** * sets the entrance time of the customer to the queue. * @param time double; the entranceTime */ public final void setEntranceTime(final double time) { this.entranceTime = time; } /** * returns the time this customer entered the queue. * @return double the entranceTime */ public final double getEntranceTime() { return this.entranceTime; } }