org.globus.cog.karajan.stack
Interface StackFrame
- All Known Implementing Classes:
- DefaultStackFrame
- public interface StackFrame
isDefined
public boolean isDefined(String varName)
getVar
public Object getVar(String name)
setVar
public void setVar(String name,
Object value)
rename
public void rename(String oldName,
String newName)
setIntVar
public void setIntVar(String name,
int value)
getIntVar
public int getIntVar(String name)
throws VariableNotFoundException
- Throws:
VariableNotFoundException
postIncrementAtomic
public int postIncrementAtomic(String name)
throws VariableNotFoundException
- Throws:
VariableNotFoundException
setBooleanVar
public void setBooleanVar(String name,
boolean value)
getBooleanVar
public boolean getBooleanVar(String name)
throws VariableNotFoundException
- Throws:
VariableNotFoundException
deleteVar
public void deleteVar(String name)
names
public Iterator names()
hasBarrier
public boolean hasBarrier()
setBarrier
public void setBarrier(boolean barrier)
getVarAndDelete
public Object getVarAndDelete(String name)
preDecrementAtomic
public int preDecrementAtomic(String name)
throws VariableNotFoundException
- Throws:
VariableNotFoundException