mirror of
https://github.com/github/codeql.git
synced 2026-02-17 23:43:42 +01:00
20 lines
506 B
Java
20 lines
506 B
Java
void printMembership(Set<Fellow> fellows, Set<Member> members,
|
|
Set<Associate> associates, Set<Student> students) {
|
|
for(Fellow f: fellows) {
|
|
System.out.println(f);
|
|
}
|
|
for(Member m: members) {
|
|
System.out.println(m);
|
|
}
|
|
for(Associate a: associates) {
|
|
System.out.println(a);
|
|
}
|
|
for(Student s: students) {
|
|
System.out.println(s);
|
|
}
|
|
}
|
|
|
|
void printRecords() {
|
|
//...
|
|
printMembership(fellows, members, associates, students);
|
|
} |