/**
  * Lists the employees that have a specified name.
  *
  * @param lastName
  */
 public void listEmployeesWithLastName(String lastName) {
   System.out.println("Employees named '" + lastName + "' :");
   for (Employee aEmployee : getListOfEmployeesWithLastName(lastName)) {
     aEmployee.listDetails();
   }
 }
 /** Lists all employees currently existing in the database. */
 public void listAllEmployees() {
   System.out.println("Listing database contents (all employees):");
   for (Employee aEmployee : myE_sList) {
     aEmployee.listDetails();
   }
 }
 /**
  * Lists the employees that have a specified age.
  *
  * @param age
  */
 public void listEmployeesWithAge(int age) {
   System.out.println("Employees aged " + age + " :");
   for (Employee aEmployee : getListOfEmployeesWithAge(age)) {
     aEmployee.listDetails();
   }
 }