MCPcopy Create free account
hub / github.com/Garten/sourcecraft / getPlaceNames

Method getPlaceNames

src/periphery/Places.java:30–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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();

Callers

nothing calls this directly

Calls 1

getDisplayNameMethod · 0.80

Tested by

no test coverage detected