public Reporter getReporter(int id) { for (Reporter reporter : reporters) { if (reporter.getId() == id) { return reporter; } } return null; }