BBjspHashMap::getShort (Deprecated)

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

Description

In BBj 16.0 and higher, this method will return a Short value derived from the stored value in this BBjspHashMap.

If the object in the BBjspHashMap is not a Shrt then the object will be coerced into a Short if possible.

Syntax

Return Value

Method

Short

getShort(string key)

Parameters

Variable

Description

key

The name of the Short object to return.

Return Value

Returns the Short object.

Remarks

None.

Example

declare BBjspHashMap map!

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

map!.setShort("S",123.44)

print map!.getShort("S")

print map!

See Also

BBjspHashMap

BBjspHashMap::setShort()