public final class CyclePresentException
extends java.lang.IllegalArgumentException
修飾子とタイプ | メソッドと説明 |
---|---|
<T> java.util.Set<java.util.Set<T>> |
getCycles()
Accesses the cycles present in the sorted graph.
|
public <T> java.util.Set<java.util.Set<T>> getCycles()
Each element in the outer set represents a cycle; each cycle, or the inner set, forms a strongly connected component with two or more elements.
T
- the type of node sorted