C E F G M S
C
- countEmployeesUnder(Employee) - Method in class EmployeeDatabase
-
Count the number of employees under this manager.
- countManagersAbove(Employee) - Method in class EmployeeDatabase
-
Count the number of managers above this employee.
E
- Employee - Class in <Unnamed>
-
Class implementing an employee.
- Employee(String, String) - Constructor for class Employee
-
Create a new employee.
- EmployeeDatabase - Class in <Unnamed>
-
A class that implements a database of employees.
- EmployeeDatabase() - Constructor for class EmployeeDatabase
-
Constructor which initializes the employees list.
- employees - Variable in class EmployeeDatabase
-
List of employees.
F
- findManager(Employee) - Method in class EmployeeDatabase
-
Returns the manager for the given employee.
G
- getManager() - Method in class Employee
-
Get the employee's manager's name.
- getName() - Method in class Employee
-
Get the employee's name.
M
- main(String[]) - Static method in class EmployeeDatabase
-
Main method for testing.
S
- setManager(String) - Method in class Employee
-
Set the employee's manager's name.
- setName(String) - Method in class Employee
-
Set the employee's name.