Package org.teavm.common
Class LoopGraph
java.lang.Object
org.teavm.common.LoopGraph
- All Implemented Interfaces:
Graph
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Loop
commonSuperloop
(Loop first, Loop second) int
copyIncomingEdges
(int node, int[] target) int
copyOutgoingEdges
(int node, int[] target) int[]
incomingEdges
(int node) int
incomingEdgesCount
(int node) int
indexAt
(int node) Loop[]
loopAt
(int index) int[]
outgoingEdges
(int node) int
outgoingEdgesCount
(int node) int
size()
-
Constructor Details
-
LoopGraph
-
-
Method Details
-
commonSuperloop
-
loopAt
-
knownLoops
-
size
public int size() -
incomingEdges
public int[] incomingEdges(int node) - Specified by:
incomingEdges
in interfaceGraph
-
copyIncomingEdges
public int copyIncomingEdges(int node, int[] target) - Specified by:
copyIncomingEdges
in interfaceGraph
-
outgoingEdges
public int[] outgoingEdges(int node) - Specified by:
outgoingEdges
in interfaceGraph
-
copyOutgoingEdges
public int copyOutgoingEdges(int node, int[] target) - Specified by:
copyOutgoingEdges
in interfaceGraph
-
incomingEdgesCount
public int incomingEdgesCount(int node) - Specified by:
incomingEdgesCount
in interfaceGraph
-
outgoingEdgesCount
public int outgoingEdgesCount(int node) - Specified by:
outgoingEdgesCount
in interfaceGraph
-
indexAt
public int indexAt(int node)
-