Class CyclePresentException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
net.minecraftforge.fml.loading.toposort.CyclePresentException
- All Implemented Interfaces:
- Serializable
An exception thrown for graphs with cycles as an argument for topological sort.
- See Also:
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final long
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Field Details- 
serialVersionUIDprivate static final long serialVersionUID- See Also:
 
- 
cycles
 
- 
- 
Constructor Details- 
CyclePresentExceptionCreates the exception.- Parameters:
- cycles- the cycles present
 
 
- 
- 
Method Details- 
getCyclesAccesses the cycles present in the sorted graph.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. - Type Parameters:
- T- the type of node sorted
- Returns:
- the cycles identified
 
 
-