Uses of Class
org.openstreetmap.josm.data.osm.NodePair
-
Packages that use NodePair Package Description org.openstreetmap.josm.data.osm Provides the classes for OSM data:Primitives
:Node
,Way
,Relation
Users
Tags
Changesets
Utilities classes -
-
Uses of NodePair in org.openstreetmap.josm.data.osm
Fields in org.openstreetmap.josm.data.osm with type parameters of type NodePair Modifier and Type Field Description private Set<NodePair>
NodeGraph. edges
private Map<Node,List<NodePair>>
NodeGraph. predecessors
private Map<Node,List<NodePair>>
NodeGraph. successors
Methods in org.openstreetmap.josm.data.osm that return NodePair Modifier and Type Method Description NodePair
NodePair. swap()
Returns the inversed pair.Methods in org.openstreetmap.josm.data.osm that return types with arguments of type NodePair Modifier and Type Method Description static List<NodePair>
NodeGraph. buildNodePairs(List<Way> ways, boolean directed)
Builds a list of pair of nodes from the given ways.static List<NodePair>
NodeGraph. buildNodePairs(Way way, boolean directed)
Builds a list of pair of nodes from the given way.static List<NodePair>
NodeGraph. eliminateDuplicateNodePairs(List<NodePair> pairs)
Builds a new list of pair nodes without the duplicated pairs (including inversed copies).private List<NodePair>
NodeGraph. getConnectedPairs(Node node)
protected List<NodePair>
NodeGraph. getOutboundPairs(Node node)
protected List<NodePair>
NodeGraph. getOutboundPairs(NodePair pair)
Methods in org.openstreetmap.josm.data.osm with parameters of type NodePair Modifier and Type Method Description void
NodeGraph. add(NodePair pair)
Add a node pair.protected List<NodePair>
NodeGraph. getOutboundPairs(NodePair pair)
boolean
NodePair. isPredecessorOf(NodePair other)
Determines if this pair is predecessor of another one (this.b == other.a)boolean
NodePair. isSuccessorOf(NodePair other)
Determines if this pair is successor of another one (other.b == this.a)protected void
NodeGraph. rememberPredecessors(NodePair pair)
protected void
NodeGraph. rememberSuccessor(NodePair pair)
Method parameters in org.openstreetmap.josm.data.osm with type arguments of type NodePair Modifier and Type Method Description void
NodeGraph. add(Collection<NodePair> pairs)
Add a list of node pairs.protected List<Node>
NodeGraph. buildPathFromNodePairs(Deque<NodePair> path)
static NodeGraph
NodeGraph. createDirectedGraphFromNodePairs(List<NodePair> pairs)
static NodeGraph
NodeGraph. createUndirectedGraphFromNodeList(List<NodePair> pairs)
Create an undirected graph from the given node pairs.static List<NodePair>
NodeGraph. eliminateDuplicateNodePairs(List<NodePair> pairs)
Builds a new list of pair nodes without the duplicated pairs (including inversed copies).protected boolean
NodeGraph. isSpanningWay(Collection<NodePair> way)
-