public Person getPersonById(final int id) {
		for (Person person : persons) {
			if (id == person.getId()) {
				return person;
			}
		}
		return null;
	}
public Person getPersonById(final int id) {
		for (Person person : persons) {
			if (id == person.getId()) {
				return person;
			}
		}
		return null;
	}
public Person getPersonById ( final int id ) { for ( Person person : persons ) { if ( id == person . getId ( ) ) { return person ; } } return null ; }
Gets a Person.s

@param id of the person
@return person
Gets a Person . s