MCPcopy Create free account
hub / github.com/Neop/mudmap2 / getPlaces

Method getPlaces

src/main/java/mudmap2/backend/Layer.java:316–318  ·  view source on GitHub ↗

Gets a collection of all places @return set of all elements or empty set

()

Source from the content-addressed store, hash-verified

314 * @return set of all elements or empty set
315 */
316 public HashSet<Place> getPlaces(){
317 return new HashSet(elements.values());
318 }
319
320 /**
321 * Gets a collection of all layer elements

Callers 4

testLayerMethod · 0.95
testGetPlacesMethod · 0.95
getPlacesListMethod · 0.95
updatePlaceNameCacheMethod · 0.95

Calls 1

valuesMethod · 0.65

Tested by 2

testLayerMethod · 0.76
testGetPlacesMethod · 0.76