|
Algernon Software | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This class prescribes the behavior of a register in the AAM processor. User: hewett Date: Sep 17, 2002 Time: 12:06:28 PM
Method Summary | |
LispValue |
append(LispValue newValue)
Appends the given value onto the end of the register. |
void |
clear()
Initializes the register contents to an appropriate value, usually NIL or the empty set. |
LispValue |
getEntry(int index)
Return the nth entry in the given register, where the topmost item is entry number zero. |
String |
getName()
Returns the name of this Register. |
RegisterSet |
getRegisterSet()
Returns the RegisterSet this Register belongs to. |
LispValue |
getValue()
Return the value of the given register. |
LispValue |
pop()
Pops the register and returns the popped entry. |
LispValue |
push(LispValue newValue)
Pushes the given value onto the register. |
void |
setName(String newName)
Sets the name of this Register. |
void |
setRegisterSet(RegisterSet set)
Sets the RegisterSet this Register belongs to. |
LispValue |
setValue(LispValue newValue)
Sets the value of the given register. |
long |
size()
Return the size of (number of entries in) the given register. |
Method Detail |
public void clear()
public String getName()
public void setName(String newName)
public RegisterSet getRegisterSet()
public void setRegisterSet(RegisterSet set)
public LispValue getValue()
public LispValue setValue(LispValue newValue) throws AlgernonDataException
AlgernonDataException
public LispValue getEntry(int index)
public LispValue pop()
public LispValue push(LispValue newValue)
public LispValue append(LispValue newValue)
public long size()
|
Algernon Software | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |