当前页面:
在线文档首页 >
JDK 5 Documentation v6.0, Java 2 SDK 英文文档
jmap - JDK 5 Documentation v6.0, Java 2 SDK 英文文档
Class jmap
Object
|
+--jmap
- class
jmap
Defined in init.js
Constructor Summary |
jmap
(map)
Creates a convenient script object to deal with java.util.Map instances.
|
jmap
jmap(map)
Creates a convenient script object to deal with java.util.Map instances.
The result script object's field names are keys of the Map. For example,
scriptObj.keyName can be used to access value associated with given key.
Example:
var x = java.lang.SystemProperties();
var y = jmap(x);
print(y['java.class.path']); // prints java.class.path System property
delete y['java.class.path']; // remove java.class.path System property
Parameters:
map
- java.util.Map instance that will be wrapped
Documentation generated by
JSDoc on Wed Jun 8 13:29:43 2005