|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectat.dms.kjc.slicegraph.Util
public class Util
A class with useful functions that span classes.
Constructor Summary | |
---|---|
Util()
|
Method Summary | |
---|---|
static Iterator<SliceNode> |
sliceNodeTraversal(List<Slice> slices)
Get a traversal (linked list iterator) that includes all the slice nodes of the given slice traversal. |
static Iterator<SliceNode> |
sliceNodeTraversal(Slice[] slices)
Get a traversal (linked list) that includes the head nodes of the given array of slices. |
static Edge |
srcDstToEdge(SliceNode src,
SliceNode dst)
Given two slice nodes, return an edge. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Util()
Method Detail |
---|
public static Iterator<SliceNode> sliceNodeTraversal(List<Slice> slices)
slices
- a list of Slice's.
public static Iterator<SliceNode> sliceNodeTraversal(Slice[] slices)
slices
- an array of Slice's.
public static Edge srcDstToEdge(SliceNode src, SliceNode dst)
src
- Source SliceNode for edgedst
- Destination SliceNode for Edge
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |