public static class PathWrapper.Segment extends Object
| Constructor and Description |
|---|
Segment(Node startNode,
Relationship relationShip,
Node endNode)
The segment is used to represent an edge in a path.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
Node |
getEndNode() |
Relationship |
getRelationShip() |
Node |
getStartNode() |
int |
hashCode() |
String |
toString() |
public Segment(Node startNode, Relationship relationShip, Node endNode)
startNode - the start noderelationShip - the edgeendNode - the end nodepublic Node getStartNode()
public Relationship getRelationShip()
public Node getEndNode()
Copyright © 2022. All rights reserved.