public Place getPlaceById(int placeId) { for (Place place : placeLists) { if (place.getPlaceId() == placeId) { return place; } } return null; }