class PopulationManager implements PopulationDAO {

	@Override
	public Population findByName(String populationName) {
		List<Population> populations = watcher.getParsedData();
		if(populations != null) {
			Iterator<Population> it = populations.iterator();
			while( it.hasNext() ) {
				Population cur = it.next();
				if(cur.getName() != null && cur.getName().equals(populationName)) {
					return cur;
				}
			}
		}
		return null;
	}

}