jag
Class Temp

java.lang.Object
  extended by jag.Temp
All Implemented Interfaces:
Serializable

public class Temp
extends Object
implements Serializable

implements indices for a stack of runtime words.

See Also:
Serialized Form

Field Summary
protected  int n
          current stack level.
 
Constructor Summary
Temp()
           
 
Method Summary
 int free()
          discards current level.
 int get()
          creates a new level.
 int ref()
          references current level.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

n

protected transient int n
current stack level.

Constructor Detail

Temp

public Temp()
Method Detail

get

public int get()
creates a new level.

Returns:
current level.

ref

public int ref()
references current level.

Returns:
current level.

free

public int free()
discards current level.

Returns:
discarded level.