|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectplp.expressions2.memory.StackHandler
public class StackHandler
Method Summary | |
---|---|
static java.lang.Object |
getFromId(java.util.Stack stack,
Id id)
Looks for the object whose Id is 'id' on the mappings that exist on the specified Stack. |
static void |
mapIdObject(java.util.Stack stack,
Id id,
java.lang.Object object)
Adds a mapping on the specified Stack |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.lang.Object getFromId(java.util.Stack stack, Id id) throws IdentificadorNaoDeclaradoException
stack,
- the Stack which contains the mappings (Id->Object)id,
- the Id of the desired object.
Object
indexed by the Id
IdentificadorNaoDeclaradoException
- if there is not any object indexed by 'id'public static void mapIdObject(java.util.Stack stack, Id id, java.lang.Object object) throws IdentificadorJaDeclaradoException
stack,
- the Stack which contains the mappingsid,
- the Id that will index the new objectobject,
- the content that will be indexed
VariavelJaDeclaradaException,
- if 'id' is already used in an existing
mapping
IdentificadorJaDeclaradoException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |