public abstract class AbstractGraphVisitorFI<T> extends Object implements GraphVisitor<T>
| Modifier and Type | Method and Description |
|---|---|
void |
abort() |
void |
enqueue(Collection<? extends T> next) |
void |
enqueue(T next) |
Collection<T> |
getVisitedNodes() |
void |
process() |
boolean |
wasAborted() |
public void abort()
abort in interface GraphVisitor<T>public boolean wasAborted()
wasAborted in interface GraphVisitor<T>public Collection<T> getVisitedNodes()
getVisitedNodes in interface GraphVisitor<T>public void enqueue(T next)
enqueue in interface GraphVisitor<T>public void enqueue(Collection<? extends T> next)
enqueue in interface GraphVisitor<T>public void process()
process in interface GraphVisitor<T>Copyright © 2011-2021. All Rights Reserved.