Class TreePath
java.lang.Object
net.minidev.json.actions.path.TreePath
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected PathDelimiterprotected ListIterator<String> protected TreePath.Stepprotected StringBuilderprotected final Stringprotected StringBuilder -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
path
-
keys
-
keysItr
-
currKey
-
lastStep
-
origin
-
remainder
-
delim
-
-
Constructor Details
-
TreePath
-
-
Method Details
-
reset
public void reset() -
hasNext
public boolean hasNext() -
nextIndex
public int nextIndex() -
next
-
hasPrev
public boolean hasPrev() -
prevIndex
public int prevIndex() -
prev
-
path
- Returns:
- An n-gram path from the first key to the current key (inclusive)
-
origin
- Returns:
- An n-gram path from the first key to the current key (inclusive)
-
remainder
- Returns:
- An n-gram path from the current key to the last key (inclusive)
-
first
- Returns:
- first element in the JSONPath
-
last
- Returns:
- last element in the JSONPath
-
curr
- Returns:
- current element pointed to by the path iterator
-
length
public int length() -
subPath
-
clone
- Overrides:
clonein classObject- Throws:
CloneNotSupportedException
-
equals
-
hashCode
-