Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Process employees based on status
- void processEmployees() {
- ...
- List<Employee> employees = findEmployees(statusList);
- ...
- }
- // this finds Employees by a list of statuses
- List<Employee> findEmployees(List<String> statusList) {
- ...
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement