Class GraphVisitorDFS<T>
java.lang.Object
org.benf.cfr.reader.util.graph.GraphVisitorDFS<T>
- All Implemented Interfaces:
GraphVisitor<T>
-
Constructor Summary
ConstructorsConstructorDescriptionGraphVisitorDFS(Collection<? extends T> first, BinaryProcedure<T, GraphVisitor<T>> callee) GraphVisitorDFS(T first, BinaryProcedure<T, GraphVisitor<T>> callee) -
Method Summary
Modifier and TypeMethodDescriptionvoidabort()voidenqueue(Collection<? extends T> next) voidvoidprocess()boolean
-
Constructor Details
-
GraphVisitorDFS
-
GraphVisitorDFS
-
-
Method Details
-
enqueue
- Specified by:
enqueuein interfaceGraphVisitor<T>
-
enqueue
- Specified by:
enqueuein interfaceGraphVisitor<T>
-
abort
public void abort()- Specified by:
abortin interfaceGraphVisitor<T>
-
wasAborted
public boolean wasAborted()- Specified by:
wasAbortedin interfaceGraphVisitor<T>
-
getVisitedNodes
- Specified by:
getVisitedNodesin interfaceGraphVisitor<T>
-
process
public void process()- Specified by:
processin interfaceGraphVisitor<T>
-