org.jetbrains.kotlin.utils
Class DFS.VisitedWithSet<N>

java.lang.Object
  extended by org.jetbrains.kotlin.utils.DFS.VisitedWithSet<N>
All Implemented Interfaces:
DFS.Visited<N>
Enclosing class:
DFS

public static class DFS.VisitedWithSet<N>
extends java.lang.Object
implements DFS.Visited<N>


Constructor Summary
DFS.VisitedWithSet()
           
DFS.VisitedWithSet(java.util.Set<N> visited)
           
 
Method Summary
 boolean checkAndMarkVisited(N current)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DFS.VisitedWithSet

public DFS.VisitedWithSet()

DFS.VisitedWithSet

public DFS.VisitedWithSet(@NotNull
                          java.util.Set<N> visited)
Method Detail

checkAndMarkVisited

public boolean checkAndMarkVisited(N current)
Specified by:
checkAndMarkVisited in interface DFS.Visited<N>