BBjspHashMap::setObject (Deprecated)

The BBJSP system is deprecated. For new development, use BBxServlet.

Description

In BBj 16.0 and higher, this method adds an Object value to the map.

Syntax

Return Value

Method

void

setObject(string key, Object val)

Parameters

Variable

Description

key

the key value

val

the object

Return Value

None.

Remarks

None.

Example

declare BBjspHashMap map!

map! = BBjAPI().makeBBJSP().makeBBjspHashMap()

map!.setObject("V1",BBjAPI().TRUE)
map!.setObject("V2",0)
map!.setObject("V3",1.23)
map!.setObject("V4","9.1")

print map!

See Also

BBjspHashMap

BBjspHashMap::getObject()