Represents a Neo4j path
| Modifiers | Name | Description |
|---|---|---|
interface |
Path.Segment |
A segment |
| Type Params | Return Type | Name and description |
|---|---|---|
|
boolean |
contains(java.lang.Object o)Whether the path contains the given object. |
|
T |
end()@return the end node of this path |
|
int |
length()@return the number of segments in this path, which will be the same as the number of relationships |
|
java.lang.Iterable |
nodes()@return The domain instances that make up all the nodes |
|
F |
start()@return the start node of this path |
| Methods inherited from class | Name |
|---|---|
interface java.lang.Iterable |
java.lang.Iterable#iterator(), java.lang.Iterable#spliterator(), java.lang.Iterable#forEach(java.util.function.Consumer) |
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Whether the path contains the given object. The entity should correctly implement equals/hashCode
o - The object