at.dms.kjc.spacedynamic
Class JoinerScheduleNode

java.lang.Object
  extended by at.dms.kjc.spacedynamic.JoinerScheduleNode

public class JoinerScheduleNode
extends Object


Field Summary
 String buffer
           
static int DUPLICATE
           
static String DUPVAR
           
static int FIRE
           
static int INITPATH
           
 int initPathIndex
           
 JoinerScheduleNode next
           
static int RECEIVE
           
 int type
           
 
Constructor Summary
JoinerScheduleNode(CType channelType)
           
JoinerScheduleNode(int index, String buf, CType channelType)
           
 
Method Summary
 boolean equals(Object obj)
          Returns whether
 String getBuffer()
           
 int getType()
           
 void printMe()
           
static void printSchedule(JoinerScheduleNode first)
           
static JoinerScheduleNode[] toArray(JoinerScheduleNode node)
          Traverses the list defined from
 String toString()
          print the c code for this node
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

FIRE

public static final int FIRE
See Also:
Constant Field Values

RECEIVE

public static final int RECEIVE
See Also:
Constant Field Values

INITPATH

public static final int INITPATH
See Also:
Constant Field Values

DUPLICATE

public static final int DUPLICATE
See Also:
Constant Field Values

next

public JoinerScheduleNode next

type

public int type

buffer

public String buffer

initPathIndex

public int initPathIndex

DUPVAR

public static final String DUPVAR
See Also:
Constant Field Values
Constructor Detail

JoinerScheduleNode

public JoinerScheduleNode(CType channelType)

JoinerScheduleNode

public JoinerScheduleNode(int index,
                          String buf,
                          CType channelType)
Method Detail

getType

public int getType()

getBuffer

public String getBuffer()

toString

public String toString()
print the c code for this node

Overrides:
toString in class Object

equals

public boolean equals(Object obj)
Returns whether
other
has the same type and buffer name as this.

Overrides:
equals in class Object

toArray

public static JoinerScheduleNode[] toArray(JoinerScheduleNode node)
Traverses the list defined from
node
and returns an array of all elements reachable through the list. result[0] is node, and result[result.length-1].next = null.


printMe

public void printMe()

printSchedule

public static void printSchedule(JoinerScheduleNode first)