Modifier and Type | Class and Description |
---|---|
private static class |
NodeFlood.QueueConsumingIterator |
private static class |
NodeFlood.UnmarkedNodeIterator |
Modifier and Type | Field and Description |
---|---|
private int |
totalMarkedCount |
private NodeBitMap |
visited |
private Queue<Node> |
worklist |
Modifier and Type | Method and Description |
---|---|
void |
add(Node node) |
void |
addAll(Iterable<? extends Node> nodes) |
int |
getTotalMarkedCount() |
NodeBitMap |
getVisited() |
boolean |
isMarked(Node node) |
boolean |
isNew(Node node) |
Iterator<Node> |
iterator() |
Iterable<Node> |
unmarkedNodes() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
forEach, spliterator
private final NodeBitMap visited
private int totalMarkedCount
public int getTotalMarkedCount()
public NodeBitMap getVisited()
public Iterable<Node> unmarkedNodes()