|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectbyucc.jhdl.Fsm.FsmWireList
A class to model a list of strings.
Constructor Summary | |
FsmWireList()
Construct an empty wire list. |
|
FsmWireList(int siz)
Construct a wire list containing "siz" null entries |
Method Summary | |
void |
addElement(Wire s)
Add a new wire to the end of the list, making the list grow by one in size. |
void |
die(java.lang.String s)
Print error message and die |
Wire |
elementAt(int i)
Get a Wire from a FsmWireList |
Wire |
firstElement()
|
Wire |
lastElement()
|
void |
setElement(int i,
Wire s)
Set the element at location i with wire s. |
int |
size()
Tell how many wires are in FsmWireList |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FsmWireList()
public FsmWireList(int siz)
siz
- the size of the listMethod Detail |
public void addElement(Wire s)
s
- the wire to be added to the listpublic void setElement(int i, Wire s)
i
- the index of the wire to set in the FsmWireLists
- the wire to set it topublic Wire elementAt(int i)
i
- the index of the string to get
public void die(java.lang.String s)
public int size()
public Wire firstElement()
public Wire lastElement()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |