1  /** 
  2      A bank customer.
  3  */
  4  public class Customer
  5  {
  6     private double arrivalTime;
  7     /** 
  8         Constructs a customer.
  9         @param the time at which the customer entered the bank
 10     */
 11     public Customer(double time) { arrivalTime = time; }
 12  
 13     /**
 14        Gets the time at which the customer entered the bank.
 15        @return the arrival time
 16     */
 17     double getArrivalTime() { return arrivalTime; }
 18  }