()
| 28 | } |
| 29 | |
| 30 | public String[] getPlaceNames() { |
| 31 | Place[] placesArray = new Place[this.places.size()]; |
| 32 | placesArray = this.places.toArray(placesArray); |
| 33 | String[] result = new String[this.places.size()]; |
| 34 | for (int i = 0; i < this.places.size(); i++) { |
| 35 | result[i] = placesArray[i].getDisplayName(); |
| 36 | } |
| 37 | return result; |
| 38 | } |
| 39 | |
| 40 | public Place getPlace(String searchedName) { |
| 41 | Object[] placesArray = this.places.toArray(); |
nothing calls this directly
no test coverage detected