Path.Builder, Path.NodeType| Modifier and Type | Field and Description |
|---|---|
static Path |
EMPTY_PATH |
| Constructor and Description |
|---|
PathImpl(List<Object> nodes)
Use the of(xxx) factory.
|
| Modifier and Type | Method and Description |
|---|---|
Path |
append(Path toAppend) |
Path |
append(String toAppend) |
String |
attr(int i)
Retrieve an attribute at the specified index.
|
boolean |
equals(Object o) |
int |
hashCode() |
Path |
head(int toIndex) |
long |
index(int i)
Retrieve an index at the specified path index.
|
Path.NodeType |
nodeType(int i) |
int |
size() |
boolean |
startsWith(Path other)
Validate that the current Fqn starts with the other Fqn.
|
Path |
tail(int size) |
Path |
tailFrom(int fromIndex) |
String |
toString() |
public static final Path EMPTY_PATH
public int size()
public Path.NodeType nodeType(int i)
public long index(int i)
public String attr(int i)
public Path head(int toIndex)
public Path tail(int size)
public Path tailFrom(int fromIndex)
public boolean startsWith(Path other)
startsWith in interface PathCopyright © 2015. All rights reserved.