Return type | Name and parameters |
---|---|
Object
|
getAt(int index)
Support the subscript operator for TreePath. |
Iterator
|
iterator()
Returns an Iterator which traverses the TreePath one path at a time. |
TreePath
|
leftShift(Object p)
Overloads the left shift operator to provide an easy way to add paths to a treePath. |
int
|
size()
Provide the standard Groovy size() method for TreePath .
|
Support the subscript operator for TreePath.
index
- the index of the path to get.Returns an Iterator which traverses the TreePath one path at a time.
Overloads the left shift operator to provide an easy way to add paths to a treePath.
WARNING: this operation returns a new TreePath, not the original one.
p
- an object to be added to the treePath..Provide the standard Groovy size()
method for TreePath
.