public class Structure<CONTENT extends List<ITEM>,ITEM,BEGIN,END> extends Object implements Iterator<ITEM>
content having nested blocks starting with begin and ending with end.
The iteration of separated blocks will be done from bottom to top (as an equation would do).| Constructor and Description |
|---|
Structure(CONTENT content,
BEGIN begin,
END end)
constructor
|
| Modifier and Type | Method and Description |
|---|---|
Map<Integer,CONTENT> |
getTree()
getTree
|
boolean |
hasNext() |
ITEM |
next() |
void |
remove() |
protected CONTENT |
separate(CONTENT content,
Map<Integer,CONTENT> tree) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEachRemainingCopyright © 2012–2020. All rights reserved.