Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Person manager = new Person();
employee.setAge(32);
employee.setFirstName("Ellen");
employee.setLastName("Green");
List<Person> engineers = humanResources.findAllSubordinates(manager);
// some other actions with manager ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment