public abstract class ScheduledNodeIterator extends Object
SchedulePhase.getBlockToNodesMap()
.
While iterating, it is possible to insert
and
replace
nodes.Modifier and Type | Field and Description |
---|---|
private ListIterator<Node> |
iterator |
private FixedWithNextNode |
lastFixed |
private FixedWithNextNode |
reconnect |
Constructor and Description |
---|
ScheduledNodeIterator() |
Modifier and Type | Method and Description |
---|---|
protected void |
insert(FixedNode start,
FixedWithNextNode end) |
protected abstract void |
processNode(Node node) |
void |
processNodes(Block block,
SchedulePhase shedule) |
protected void |
replaceCurrent(FixedWithNextNode newNode) |
private FixedWithNextNode lastFixed
private FixedWithNextNode reconnect
private ListIterator<Node> iterator
public ScheduledNodeIterator()
public void processNodes(Block block, SchedulePhase shedule)
protected void insert(FixedNode start, FixedWithNextNode end)
protected void replaceCurrent(FixedWithNextNode newNode)
protected abstract void processNode(Node node)