at.dms.kjc.spacedynamic
Class CircularSchedule
java.lang.Object
at.dms.kjc.spacedynamic.CircularSchedule
public class CircularSchedule
- extends Object
A little class to encode a small circular schedule, it has an internal index that is
mod'ed at the end of the list when retrieving.
- Author:
- mgordon
CircularSchedule
public CircularSchedule(FlatNode[] objs)
next
public FlatNode next()
- Returns:
- The next node in the schedule.
size
public int size()
- Returns:
- The number of elements in this circular list.
isHead
public boolean isHead()
- Returns:
- true if the next element to retreive is the head of the schedule.
toString
public String toString()
- Overrides:
toString
in class Object