public class WalkedPath extends ArrayList<PathStep>
modCount| Constructor and Description |
|---|
WalkedPath() |
WalkedPath(Collection<PathStep> c) |
WalkedPath(Object treeRef,
MatchedElement matchedElement) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(Object treeRef,
MatchedElement matchedElement)
Convenience method
|
PathStep |
elementFromEnd(int idxFromEnd)
Method useful to "&", "&1", "&2", etc evaluation.
|
PathStep |
lastElement() |
void |
removeLast() |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSizeequals, hashCodecontainsAll, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcontainsAll, equals, hashCodeparallelStream, streampublic WalkedPath()
public WalkedPath(Collection<PathStep> c)
public WalkedPath(Object treeRef, MatchedElement matchedElement)
public boolean add(Object treeRef, MatchedElement matchedElement)
public void removeLast()
public PathStep elementFromEnd(int idxFromEnd)
public PathStep lastElement()
Copyright © 2023. All rights reserved.