Modifier and Type | Class and Description |
---|---|
protected static class |
TreePath.Step |
Modifier and Type | Field and Description |
---|---|
protected String |
currKey |
protected PathDelimiter |
delim |
protected List<String> |
keys |
protected ListIterator<String> |
keysItr |
protected TreePath.Step |
lastStep |
protected StringBuilder |
origin |
protected String |
path |
protected StringBuilder |
remainder |
Constructor and Description |
---|
TreePath(String path,
PathDelimiter delim) |
Modifier and Type | Method and Description |
---|---|
TreePath |
clone() |
String |
curr() |
boolean |
equals(Object o) |
String |
first() |
int |
hashCode() |
boolean |
hasNext() |
boolean |
hasPrev() |
String |
last() |
int |
length() |
String |
next() |
int |
nextIndex() |
String |
origin() |
String |
path() |
String |
prev() |
int |
prevIndex() |
String |
remainder() |
void |
reset() |
String |
subPath(int firstIndex,
int lastIndex) |
protected final String path
protected ListIterator<String> keysItr
protected String currKey
protected TreePath.Step lastStep
protected StringBuilder origin
protected StringBuilder remainder
protected PathDelimiter delim
public TreePath(String path, PathDelimiter delim)
public void reset()
public boolean hasNext()
public int nextIndex()
public String next()
public boolean hasPrev()
public int prevIndex()
public String prev()
public String path()
public String origin()
public String remainder()
public String first()
public String last()
public String curr()
public int length()
public String subPath(int firstIndex, int lastIndex)
public TreePath clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
Copyright © 2020 Chemouni Uriel. All rights reserved.