|
Poseidon for UMLTM UMLdoc
|
|
plp.expressions2.memory
Class StackHandler
- public class StackHandler
-
 | Method Summary |
|
public static
Object
|
getFromId(Stack stack
,
Id id
)
* Looks for the object whose Id is 'id' on the mappings that exist on the
* specified Stack.
|
public static
void
|
mapIdObject(Stack stack
,
Id id
,
Object object
)
Replace a current map on the stack
If the map does not contain the id key, does nothing
|
public static
void
|
replace(Stack stack
,
Id id
,
Tipo novoTipo
)
|
 | Constructor Detail |
|
StackHandler
private
StackHandler
StackHandler()
 | Method Detail |
|
getFromId
public static
Object
getFromId(Stack stack
,
Id id
)
* Looks for the object whose Id is 'id' on the mappings that exist on the
* specified Stack.
* @param stack, the Stack which contains the mappings (Id->Object)
* @param id, the Id of the desired object.
* @return an Object
indexed by the Id
* @throws IdentificadorNaoDeclaradoException if there is not any object indexed by 'id'
mapIdObject
public static
void
mapIdObject(Stack stack
,
Id id
,
Object object
)
Replace a current map on the stack
If the map does not contain the id key, does nothing
- Parameters:
-
stack,
- the Stack which contains the mappings (Id->Object)
-
id,
- the Id of the desired object.
if there is not any object indexed by 'id'
- Returns:
-
an
Object
indexed by the Id
- Throws:
-
IdentificadorNaoDeclaradoException
-
replace
public static
void
replace(Stack stack
,
Id id
,
Tipo novoTipo
)
Created 2003 - 7 - 22
|
Poseidon for UMLTM UMLdoc
|
|
Generated with Poseidon for UMLTM.
Poseidon is a registered trademark of Gentleware AG in Germany, USA and other countries.
Copyright 2001 Gentleware AG, Vogt-Kölln-Str.30, 22527 Hamburg, Germany. All Rights Reserved.
UML is a trademark or registered trademark of Object Management Group, Inc. in the U.S. and other countries.