public class NativeCollectionIterator extends ES6Iterator
ScriptableObject.KeyComparator
DONE_PROPERTY, exhausted, NEXT_METHOD, RETURN_METHOD, RETURN_PROPERTY, VALUE_PROPERTY
CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONST
NOT_FOUND
Constructor and Description |
---|
NativeCollectionIterator(Scriptable scope,
java.lang.String className,
org.mozilla.javascript.NativeCollectionIterator.Type type,
java.util.Iterator<Hashtable.Entry> iterator) |
NativeCollectionIterator(java.lang.String tag) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getClassName()
Return the name of the class.
|
protected boolean |
isDone(Context cx,
Scriptable scope) |
protected java.lang.Object |
nextValue(Context cx,
Scriptable scope) |
execIdCall, findPrototypeId, findPrototypeId, getTag, init, initPrototypeId, next
activatePrototypeMap, addIdFunctionProperty, defaultGet, defaultHas, defaultPut, defineOwnProperty, delete, delete, exportAsJSClass, fillConstructorProperties, findInstanceIdInfo, findInstanceIdInfo, get, get, getAttributes, getAttributes, getInstanceIdName, getInstanceIdValue, getMaxInstanceId, getOwnPropertyDescriptor, has, has, hasPrototypeMap, incompatibleCallError, initPrototypeConstructor, initPrototypeMethod, initPrototypeMethod, initPrototypeMethod, initPrototypeValue, initPrototypeValue, instanceIdInfo, put, put, setAttributes, setInstanceIdAttributes, setInstanceIdValue
applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, delete, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, ensureSymbolScriptable, equivalentValues, get, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGeneratorFunctionPrototype, getGetterOrSetter, getIds, getObjectPrototype, getParentScope, getProperty, getProperty, getProperty, getPropertyIds, getPrototype, getSlot, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, has, hasInstance, hasProperty, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isEmpty, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, put, putConst, putConstProperty, putProperty, putProperty, putProperty, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setExternalArrayData, setGetterOrSetter, setParentScope, setPrototype, size
public NativeCollectionIterator(java.lang.String tag)
public NativeCollectionIterator(Scriptable scope, java.lang.String className, org.mozilla.javascript.NativeCollectionIterator.Type type, java.util.Iterator<Hashtable.Entry> iterator)
public java.lang.String getClassName()
ScriptableObject
getClassName
in interface Scriptable
getClassName
in class ScriptableObject
protected boolean isDone(Context cx, Scriptable scope)
isDone
in class ES6Iterator
protected java.lang.Object nextValue(Context cx, Scriptable scope)
nextValue
in class ES6Iterator