Package jetbrains.buildServer.util.graph
Class DAGIterator<T>
- java.lang.Object
-
- jetbrains.buildServer.util.graph.DAGIterator<T>
-
-
Constructor Summary
Constructors Constructor Description DAGIterator()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description Iterator<T>iterator()abstract voidmarkStart(Collection<T> nodes)Mark nodes from which to start an iterationabstract voidmarkStart(T node)Mark node from which to start an iterationabstract voidmarkUninteresting(Collection<T> nodes)abstract voidmarkUninteresting(T node)Mark node itself and nodes reachable from him as uninteresting.voidremove()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Methods inherited from interface java.util.Iterator
forEachRemaining, hasNext, next
-
-
-
-
Method Detail
-
markStart
public abstract void markStart(@NotNull T node)Mark node from which to start an iteration- Parameters:
node- node of interest
-
markStart
public abstract void markStart(@NotNull Collection<T> nodes)Mark nodes from which to start an iteration- Parameters:
nodes- nodes of interest
-
markUninteresting
public abstract void markUninteresting(@NotNull T node)Mark node itself and nodes reachable from him as uninteresting. These nodes will not be included in iteration result.- Parameters:
node- node to mark as uninteresting
-
markUninteresting
public abstract void markUninteresting(@NotNull Collection<T> nodes)
-
-