|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectopenlr.map.sqlite.helpers.ConnectivityMap
public final class ConnectivityMap
Stores information on topological connections between objects of kind Line and
Node within a graph.
OpenLR is a trade mark of TomTom International B.V.
email: software@openlr.org
| Constructor Summary | |
|---|---|
ConnectivityMap()
Creates an instance of this class. |
|
| Method Summary | |
|---|---|
boolean |
addIncomingLineById(long lineId)
Adds information on an incoming line to the map. |
boolean |
addOutgoingLineById(long lineId)
Adds information on an outgoing line to the map if it is modifiable. |
Set<Long> |
getLineIds(ConnectionType type)
Gets an unmodifiable set of IDs of lines connected with the specified ConnectionType. |
void |
setModifiable(boolean mod)
Sets whether this map is modifiable. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConnectivityMap()
| Method Detail |
|---|
public boolean addIncomingLineById(long lineId)
lineId - the ID of the incoming line.
public boolean addOutgoingLineById(long lineId)
lineId - the ID of the outgoing line.
public Set<Long> getLineIds(ConnectionType type)
ConnectionType.
type - the connection type.
ConnectionType.public void setModifiable(boolean mod)
mod - the flag whether this map should be modifiable.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||