Skip to content

Instantly share code, notes, and snippets.

@SimonHarmonicMinor
Last active May 5, 2020 09:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SimonHarmonicMinor/0984d13e9569a8cad788125885970077 to your computer and use it in GitHub Desktop.
Save SimonHarmonicMinor/0984d13e9569a8cad788125885970077 to your computer and use it in GitHub Desktop.
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