BBjspHashMap::getKeys (Deprecated)

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

Description

In BBj 16.0 and higher, this method returns a BBjVector containing the keys.

Syntax

Return Value

Method

BBjVector

getKeys()

Parameters

None.

Return Value

Returns a BBjVector containing the keys

Remarks

None.

Example

declare BBjspHashMap map!

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

map!.setInt("int",123.44)
map!.setFloat("float",123.44)
map!.setDouble("double",123.44)
map!.setBoolean("float","FALSE")

vect! = map!.getKeys()
if vect!.size()
    for i = 0 to vect!.size()-1
        n$ = vect!.get(i)
        ? n$ + " = " + chr(map!.getTypeOf(n$)) + " : " + str(map!.get(n$))
    next i
endif

See Also

BBjspHashMap