public abstract class Loop<T extends AbstractBlockBase<T>> extends Object
Modifier and Type | Field and Description |
---|---|
private List<T> |
blocks |
private List<Loop<T>> |
children |
private int |
depth |
private List<T> |
exits |
private T |
header |
private int |
index |
private Loop<T> |
parent |
Modifier | Constructor and Description |
---|---|
protected |
Loop(Loop<T> parent,
int index,
T header) |
Modifier and Type | Method and Description |
---|---|
List<T> |
getBlocks() |
List<Loop<T>> |
getChildren() |
int |
getDepth() |
List<T> |
getExits() |
T |
getHeader() |
int |
getIndex() |
Loop<T> |
getParent() |
abstract long |
numBackedges() |
String |
toString() |
private final Loop<T extends AbstractBlockBase<T>> parent
private final int depth
private final int index
private final T extends AbstractBlockBase<T> header
private final List<T extends AbstractBlockBase<T>> blocks
private final List<T extends AbstractBlockBase<T>> exits
public abstract long numBackedges()
public List<Loop<T>> getChildren()
public int getDepth()
public int getIndex()