BBjspHashMap::getLong (Deprecated)

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

Description

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

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

Syntax

Return Value

Method

Long

getLong(string key)

Parameters

Variable

Description

key

The name of the Long object to return.

Return Value

Returns the Long object.

Remarks

None.

Example

declare BBjspHashMap map!

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

map!.setLong("F",12.34)

print map!.getLong("F")

print map!

See Also

BBjspHashMap

BBjspHashMap::setLong()