|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openstreetmap.osmosis.core.domain.v0_5.WayNode
public class WayNode
A data class representing a reference to an OSM node.
Constructor Summary | |
---|---|
WayNode(long nodeId)
Creates a new instance. |
|
WayNode(StoreReader sr,
StoreClassRegister scr)
Creates a new instance. |
Method Summary | |
---|---|
int |
compareTo(WayNode wayNode)
Compares this way node to the specified way node. |
long |
getNodeId()
|
void |
store(StoreWriter sw,
StoreClassRegister scr)
Stores all state to the specified store writer. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WayNode(long nodeId)
nodeId
- The unique identifier of the node being referred to.public WayNode(StoreReader sr, StoreClassRegister scr)
sr
- The store to read state from.scr
- Maintains the mapping between classes and their identifiers
within the store.Method Detail |
---|
public void store(StoreWriter sw, StoreClassRegister scr)
store
in interface Storeable
sw
- The writer that persists data to an underlying store.scr
- Maintains the mapping between classes and their identifiers
within the store.public int compareTo(WayNode wayNode)
compareTo
in interface java.lang.Comparable<WayNode>
wayNode
- The way node to compare to.
public long getNodeId()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |