|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Path<T>
A path is an abstract sequence of tokens that is usually used to address an item inside a tree. Example: inside the tree A / \ B C / \ \ D E F the element 'E' would be located at the path [ A, B, E ]. A path must not necesarily address a leaf; inner nodes have paths too.
Method Summary | |
---|---|
T |
getFirstElement()
Get the first element of this path. |
int |
getLength()
Get the length of this path. |
Path<T> |
getTrailingPath()
Get the trailing path from this path. |
Method Detail |
---|
int getLength()
T getFirstElement()
Path<T> getTrailingPath()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |