|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectat.dms.kjc.slicegraph.Slice
public class Slice
Slice class models a slice (joiner, sequence of filters, splitter). Beware: slices are linked with Edges, but the back edge of an InputSliceNode and the forward edge of an OutputSliceNode should be null: they are not related to the InterSliceEdge's of the InputSliceNode and OutputSliceNode.
Field Summary | |
---|---|
protected FilterSliceNode[] |
filterNodes
|
protected InputSliceNode |
head
|
protected int |
len
|
protected OutputSliceNode |
tail
|
Constructor Summary | |
---|---|
protected |
Slice()
|
|
Slice(InputSliceNode head)
Create slice with an InputSliceNode. |
|
Slice(SliceNode node)
Create slice with a FilterSliceNode. |
Method Summary | |
---|---|
int |
finish()
Finishes creating Slice. |
Slice[] |
getDependencies()
|
List<FilterSliceNode> |
getFilterNodes()
|
InputSliceNode |
getHead()
get the InputSliceNode of the Slice containing this node. |
String |
getIdent()
Return a brief string description of this slice. |
int |
getNumFilters()
|
OutputSliceNode |
getTail()
get the OutputSliceNode of the Slice containing this node. |
void |
setHead(InputSliceNode node)
Set the head of this slice to node. |
void |
setTail(OutputSliceNode out)
Set the tail of this slice to out. |
int |
size()
|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected InputSliceNode head
protected OutputSliceNode tail
protected int len
protected FilterSliceNode[] filterNodes
Constructor Detail |
---|
public Slice(InputSliceNode head)
head
- the InputSliceNodepublic Slice(SliceNode node)
node
- protected Slice()
Method Detail |
---|
public int finish()
public Slice[] getDependencies()
public int size()
public void setTail(OutputSliceNode out)
out
- The new output slice node.public void setHead(InputSliceNode node)
node
- The new input slice node.public InputSliceNode getHead()
public OutputSliceNode getTail()
public String getIdent()
public String toString()
toString
in class Object
public int getNumFilters()
public List<FilterSliceNode> getFilterNodes()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |