Java jdk.nashorn.internal.runtime ScriptObject fields, constructors, methods, implement or subclass

Example usage for Java jdk.nashorn.internal.runtime ScriptObject fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for jdk.nashorn.internal.runtime ScriptObject.

The text is from its open source code.

Method

PropertyaddOwnProperty(final String key, final int propertyFlags, final Object value)
Add a new property to the object.
booleancontainsKey(final Object key)
Checks if a property with a given key is present in a ScriptObject (java.util.Map-like method to help ScriptObjectMirror implementation)
Objectget(final Object key)
Objectget(final double key)
Objectget(final int key)
String[]getOwnKeys(final boolean all)
return an array of own property keys associated with the object.
booleanhas(final Object key)
booleanhas(final double key)
booleanhas(final int key)
booleanisArray()
Check if this ScriptObject is an array
SetkeySet()
Return the set of keys (property names) for all properties in this ScriptObject (java.util.Map-like method to help ScriptObjectMirror implementation)
IteratorpropertyIterator()
Return a property iterator.
Objectput(final Object key, final Object value, final boolean strict)
Put a property in the ScriptObject (java.util.Map-like method to help ScriptObjectMirror implementation)
voidputAll(final Map otherMap, final boolean strict)
Put several properties in the ScriptObject given a mapping of their keys to their values (java.util.Map-like method to help ScriptObjectMirror implementation)
Collectionvalues()
Return the values of the properties in the ScriptObject (java.util.Map-like method to help ScriptObjectMirror implementation)