Class SortableNode<N extends SortableNode<N>>

java.lang.Object
net.fabricmc.fabric.impl.base.toposort.SortableNode<N>

public abstract class SortableNode<N extends SortableNode<N>> extends Object
  • Field Details

  • Constructor Details

    • SortableNode

      public SortableNode()
  • Method Details

    • getDescription

      protected abstract String getDescription()
      Returns:
      Description of this node, used to print the cycle warning.
    • addSubsequentNode

      protected void addSubsequentNode(N node)
    • addPreviousNode

      protected void addPreviousNode(N node)
    • link

      public static <N extends SortableNode<N>> void link(N first, N second)