public interface GraphPath extends Serializable
Modifier and Type | Method and Description |
---|---|
GraphPath |
append(String name)
Create a new path equivalent to this one with an additional name
appended.
|
boolean |
equals(Object other)
Returns
true if the provided path equals this one,
false otherwise. |
String |
getName()
Get the first name in this path.
|
GraphPath |
prepend(String name)
Create a new path equivalent to this one with an additional name
prepended.
|
String[] |
toArray()
Get a copy of the names in this path as an array of strings.
|
String |
toString()
Get the serialization of this path as a string.
|
String getName()
GraphPath append(String name)
name
- The name to append to the new pathname
appendedGraphPath prepend(String name)
name
- The name to prepend to the new pathname
prependedString toString()
String[] toArray()
boolean equals(Object other)
true
if the provided path equals this one,
false
otherwise. To be equal, the string serializations of
each path must be identical.Copyright © 2016 Actian Corporation. All rights reserved.