Class LoopGraph

java.lang.Object
org.teavm.common.LoopGraph
All Implemented Interfaces:
Graph

public class LoopGraph extends Object implements Graph
  • Constructor Details

    • LoopGraph

      public LoopGraph(Graph graph)
  • Method Details

    • commonSuperloop

      public static Loop commonSuperloop(Loop first, Loop second)
    • loopAt

      public Loop loopAt(int index)
    • knownLoops

      public Loop[] knownLoops()
    • size

      public int size()
      Specified by:
      size in interface Graph
    • incomingEdges

      public int[] incomingEdges(int node)
      Specified by:
      incomingEdges in interface Graph
    • copyIncomingEdges

      public int copyIncomingEdges(int node, int[] target)
      Specified by:
      copyIncomingEdges in interface Graph
    • outgoingEdges

      public int[] outgoingEdges(int node)
      Specified by:
      outgoingEdges in interface Graph
    • copyOutgoingEdges

      public int copyOutgoingEdges(int node, int[] target)
      Specified by:
      copyOutgoingEdges in interface Graph
    • incomingEdgesCount

      public int incomingEdgesCount(int node)
      Specified by:
      incomingEdgesCount in interface Graph
    • outgoingEdgesCount

      public int outgoingEdgesCount(int node)
      Specified by:
      outgoingEdgesCount in interface Graph
    • indexAt

      public int indexAt(int node)