Class Customer

    • Constructor Detail

      • Customer

        public Customer()
        constructs a new Customer.
    • Method Detail

      • setEntranceTime

        public void setEntranceTime​(double time)
        sets the entrance time of the customer to the queue.
        Parameters:
        time - double; the entranceTime
      • getEntranceTime

        public double getEntranceTime()
        returns the time this customer entered the queue.
        Returns:
        double the entranceTime