package com.osmand.data; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Set; import com.osmand.osm.Entity; import com.osmand.osm.LatLon; import com.osmand.osm.Node; public class Street { private final String name; private Map buildings = new HashMap(); private List wayNodes = new ArrayList(); public Street(String name){ this.name = name; } public void registerBuilding(LatLon point, Entity e){ buildings.put(e, point); } public Set getBuildings() { return buildings.keySet(); } public LatLon getLocationBuilding(Entity e){ return buildings.get(e); } public String getName() { return name; } public List getWayNodes() { return wayNodes; } }