Package org.mozilla.javascript
Class NativeArray
java.lang.Object
org.mozilla.javascript.ScriptableObject
org.mozilla.javascript.IdScriptableObject
org.mozilla.javascript.NativeArray
- All Implemented Interfaces:
Serializable
,Iterable
,Collection
,List
,ConstProperties
,DebuggableObject
,IdFunctionCall
,Scriptable
,SymbolScriptable
This class implements the Array native object.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
static final class
Nested classes/interfaces inherited from class org.mozilla.javascript.ScriptableObject
ScriptableObject.KeyComparator
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Object
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final Comparator<Object>
private static final int
The default capacity fordense
.private Object[]
Fast storage for dense arrays.private boolean
True if all numeric properties are stored indense
.private static final double
The factor to growdense
by.private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private static final int
private long
Internal representation of the JavaScript array's length property.private int
Attributes of the array's length propertyprivate static final int
private static final int
private static final int
private static int
The maximum size ofdense
that will be allocated initially.private int
modCount required for subList/iteratorsprivate static final Long
private static final long
private static final Comparator<Object>
private static final int
Fields inherited from class org.mozilla.javascript.ScriptableObject
CONST, DONTENUM, EMPTY, PERMANENT, READONLY, UNINITIALIZED_CONST
Fields inherited from interface org.mozilla.javascript.Scriptable
NOT_FOUND
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
boolean
boolean
addAll
(int index, Collection c) boolean
addAll
(Collection c) private static Scriptable
callConstructorOrCreateArray
(Context cx, Scriptable scope, Scriptable arg, long length, boolean lengthAlways) private void
checkModCount
(int modCount) void
clear()
private static long
concatSpreadArg
(Context cx, Scriptable result, Scriptable arg, long offset) boolean
boolean
private ScriptableObject
private static void
defineElem
(Context cx, Scriptable target, long index, Object value) protected void
defineOwnProperty
(Context cx, Object id, ScriptableObject desc, boolean checkValid) Defines a property on an object.void
delete
(int index) Removes the indexed property from the object.private static void
deleteElem
(Scriptable target, long index) private static long
doConcat
(Context cx, Scriptable scope, Scriptable result, Object arg, long offset) private boolean
ensureCapacity
(int capacity) execIdCall
(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) 'thisObj' will be null if invoked as constructor, in which case * instance of Scriptable should be returned.protected void
protected int
Map name to id of instance property.protected int
protected int
get
(int index) get
(int index, Scriptable start) Returns the value of the indexed property or NOT_FOUND.get
(long index) int
getAttributes
(int index) Get the attributes of an indexed property.Return the name of the class.getDefaultValue
(Class<?> hint) Implements the [[DefaultValue]] internal method.private static Object
getElem
(Context cx, Scriptable target, long index) Object[]
getIds
(boolean nonEnumerable, boolean getSymbols) protected String
getInstanceIdName
(int id) Map id back to property name it defines.protected Object
getInstanceIdValue
(int id) Get id value.long
(package private) static long
getLengthProperty
(Context cx, Scriptable obj) (package private) static int
protected int
Get maximum id findInstanceIdInfo can generate.protected ScriptableObject
getOwnPropertyDescriptor
(Context cx, Object id) private static Object
getRawElem
(Scriptable target, long index) boolean
has
(int index, Scriptable start) Returns true if the property index is defined.int
(package private) static void
init
(Scriptable scope, boolean sealed) protected void
initPrototypeId
(int id) private static boolean
isConcatSpreadable
(Context cx, Scriptable scope, Object val) boolean
isEmpty()
private static Object
iterativeMethod
(Context cx, IdFunctionObject idFunctionObject, Scriptable scope, Scriptable thisObj, Object[] args) Implements the methods "every", "filter", "forEach", "map", and "some".iterator()
private static Scriptable
js_concat
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private static Object
js_copyWithin
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private static Object
js_fill
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private static Object
js_from
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private static Boolean
js_includes
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private static Object
js_indexOf
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private static boolean
js_isArray
(Object o) private static String
js_join
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) See ECMA 15.4.4.3private static Object
js_lastIndexOf
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private static Object
js_of
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private static Object
js_pop
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private static Object
js_push
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private static Scriptable
js_reverse
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) See ECMA 15.4.4.4private static Object
js_shift
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private static Scriptable
js_slice
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private static Scriptable
js_sort
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) See ECMA 15.4.4.5private static Object
js_splice
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private static Object
js_unshift
(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) private static Object
jsConstructor
(Context cx, Scriptable scope, Object[] args) See ECMA 15.4.1,2long
Deprecated.int
listIterator
(int start) void
put
(int index, Scriptable start, Object value) Sets the value of the indexed property, creating it if need be.void
put
(String id, Scriptable start, Object value) Sets the value of the named property, creating it if need be.private static Object
reduceMethod
(Context cx, int id, Scriptable scope, Scriptable thisObj, Object[] args) Implements the methods "reduce" and "reduceRight".remove
(int index) boolean
boolean
boolean
(package private) void
setDenseOnly
(boolean denseOnly) Change the value of the internal flag that determines whether all storage is handed by a dense backing array rather than an associative store.private static void
setElem
(Context cx, Scriptable target, long index, Object value) protected void
setInstanceIdAttributes
(int id, int attr) Update the attributes of the given instance property.protected void
setInstanceIdValue
(int id, Object value) Set or delete id value.private void
private static Object
setLengthProperty
(Context cx, Scriptable target, long length) (package private) static void
setMaximumInitialCapacity
(int maximumInitialCapacity) private static void
setRawElem
(Context cx, Scriptable target, long index, Object value) int
size()
subList
(int fromIndex, int toIndex) Object[]
toArray()
Object[]
private static long
toArrayIndex
(double d) private static long
toArrayIndex
(Object id) private static long
toArrayIndex
(String id) private static int
toDenseIndex
(Object id) private static long
toSliceIndex
(double value, long length) private static String
toStringHelper
(Context cx, Scriptable scope, Scriptable thisObj, boolean toSource, boolean toLocale) Methods inherited from class org.mozilla.javascript.IdScriptableObject
activatePrototypeMap, addIdFunctionProperty, defaultGet, defaultHas, defaultPut, delete, delete, ensureType, exportAsJSClass, findInstanceIdInfo, get, get, getAttributes, getAttributes, has, has, hasPrototypeMap, initPrototypeConstructor, initPrototypeMethod, initPrototypeMethod, initPrototypeMethod, initPrototypeValue, initPrototypeValue, instanceIdInfo, put, setAttributes
Methods inherited from class org.mozilla.javascript.ScriptableObject
addLazilyInitializedValue, applyDescriptorToAttributeBitset, associateValue, avoidObjectDetection, buildClassCtor, buildDataDescriptor, callMethod, callMethod, checkPropertyChange, checkPropertyDefinition, checkValidAttributes, defineClass, defineClass, defineClass, defineConst, defineConstProperty, defineFunctionProperties, defineOwnProperties, defineOwnProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, defineProperty, deleteProperty, deleteProperty, ensureScriptable, ensureScriptableObject, ensureSymbolScriptable, equivalentValues, get, getAllIds, getArrayPrototype, getAssociatedValue, getAttributes, getAttributes, getClassPrototype, getDefaultValue, getExternalArrayData, getExternalArrayLength, getFunctionPrototype, getGeneratorFunctionPrototype, getGetterOrSetter, getGetterOrSetter, getIds, getObjectPrototype, getParentScope, getProperty, getProperty, getProperty, getPropertyIds, getPrototype, getTopLevelScope, getTopScopeValue, getTypedProperty, getTypedProperty, getTypeOf, hasInstance, hasProperty, hasProperty, hasProperty, isAccessorDescriptor, isConst, isDataDescriptor, isExtensible, isFalse, isGenericDescriptor, isGetterOrSetter, isSealed, isTrue, preventExtensions, putConst, putConstProperty, putProperty, putProperty, putProperty, querySlot, redefineProperty, sameValue, sealObject, setAttributes, setAttributes, setAttributes, setAttributes, setCommonDescriptorProperties, setExternalArrayData, setGetterOrSetter, setParentScope, setPrototype
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface java.util.List
equals, hashCode, replaceAll, sort, spliterator
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
ARRAY_TAG
-
NEGATIVE_ONE
-
Id_length
private static final int Id_length- See Also:
-
MAX_INSTANCE_ID
private static final int MAX_INSTANCE_ID- See Also:
-
STRING_COMPARATOR
-
DEFAULT_COMPARATOR
-
Id_constructor
private static final int Id_constructor- See Also:
-
Id_toString
private static final int Id_toString- See Also:
-
Id_toLocaleString
private static final int Id_toLocaleString- See Also:
-
Id_toSource
private static final int Id_toSource- See Also:
-
Id_join
private static final int Id_join- See Also:
-
Id_reverse
private static final int Id_reverse- See Also:
-
Id_sort
private static final int Id_sort- See Also:
-
Id_push
private static final int Id_push- See Also:
-
Id_pop
private static final int Id_pop- See Also:
-
Id_shift
private static final int Id_shift- See Also:
-
Id_unshift
private static final int Id_unshift- See Also:
-
Id_splice
private static final int Id_splice- See Also:
-
Id_concat
private static final int Id_concat- See Also:
-
Id_slice
private static final int Id_slice- See Also:
-
Id_indexOf
private static final int Id_indexOf- See Also:
-
Id_lastIndexOf
private static final int Id_lastIndexOf- See Also:
-
Id_every
private static final int Id_every- See Also:
-
Id_filter
private static final int Id_filter- See Also:
-
Id_forEach
private static final int Id_forEach- See Also:
-
Id_map
private static final int Id_map- See Also:
-
Id_some
private static final int Id_some- See Also:
-
Id_find
private static final int Id_find- See Also:
-
Id_findIndex
private static final int Id_findIndex- See Also:
-
Id_reduce
private static final int Id_reduce- See Also:
-
Id_reduceRight
private static final int Id_reduceRight- See Also:
-
Id_fill
private static final int Id_fill- See Also:
-
Id_keys
private static final int Id_keys- See Also:
-
Id_values
private static final int Id_values- See Also:
-
Id_entries
private static final int Id_entries- See Also:
-
Id_includes
private static final int Id_includes- See Also:
-
Id_copyWithin
private static final int Id_copyWithin- See Also:
-
SymbolId_iterator
private static final int SymbolId_iterator- See Also:
-
MAX_PROTOTYPE_ID
private static final int MAX_PROTOTYPE_ID- See Also:
-
ConstructorId_join
private static final int ConstructorId_join- See Also:
-
ConstructorId_reverse
private static final int ConstructorId_reverse- See Also:
-
ConstructorId_sort
private static final int ConstructorId_sort- See Also:
-
ConstructorId_push
private static final int ConstructorId_push- See Also:
-
ConstructorId_pop
private static final int ConstructorId_pop- See Also:
-
ConstructorId_shift
private static final int ConstructorId_shift- See Also:
-
ConstructorId_unshift
private static final int ConstructorId_unshift- See Also:
-
ConstructorId_splice
private static final int ConstructorId_splice- See Also:
-
ConstructorId_concat
private static final int ConstructorId_concat- See Also:
-
ConstructorId_slice
private static final int ConstructorId_slice- See Also:
-
ConstructorId_indexOf
private static final int ConstructorId_indexOf- See Also:
-
ConstructorId_lastIndexOf
private static final int ConstructorId_lastIndexOf- See Also:
-
ConstructorId_every
private static final int ConstructorId_every- See Also:
-
ConstructorId_filter
private static final int ConstructorId_filter- See Also:
-
ConstructorId_forEach
private static final int ConstructorId_forEach- See Also:
-
ConstructorId_map
private static final int ConstructorId_map- See Also:
-
ConstructorId_some
private static final int ConstructorId_some- See Also:
-
ConstructorId_find
private static final int ConstructorId_find- See Also:
-
ConstructorId_findIndex
private static final int ConstructorId_findIndex- See Also:
-
ConstructorId_reduce
private static final int ConstructorId_reduce- See Also:
-
ConstructorId_reduceRight
private static final int ConstructorId_reduceRight- See Also:
-
ConstructorId_isArray
private static final int ConstructorId_isArray- See Also:
-
ConstructorId_of
private static final int ConstructorId_of- See Also:
-
ConstructorId_from
private static final int ConstructorId_from- See Also:
-
length
private long lengthInternal representation of the JavaScript array's length property. -
lengthAttr
private int lengthAttrAttributes of the array's length property -
modCount
private transient int modCountmodCount required for subList/iterators -
dense
Fast storage for dense arrays. Sparse arrays will use the superclass's hashtable storage scheme. -
denseOnly
private boolean denseOnlyTrue if all numeric properties are stored indense
. -
maximumInitialCapacity
private static int maximumInitialCapacityThe maximum size ofdense
that will be allocated initially. -
DEFAULT_INITIAL_CAPACITY
private static final int DEFAULT_INITIAL_CAPACITYThe default capacity fordense
.- See Also:
-
GROW_FACTOR
private static final double GROW_FACTORThe factor to growdense
by.- See Also:
-
MAX_PRE_GROW_SIZE
private static final int MAX_PRE_GROW_SIZE- See Also:
-
-
Constructor Details
-
NativeArray
public NativeArray(long lengthArg) -
NativeArray
-
-
Method Details
-
init
-
getMaximumInitialCapacity
static int getMaximumInitialCapacity() -
setMaximumInitialCapacity
static void setMaximumInitialCapacity(int maximumInitialCapacity) -
getClassName
Description copied from class:ScriptableObject
Return the name of the class.This is typically the same name as the constructor. Classes extending ScriptableObject must implement this abstract method.
- Specified by:
getClassName
in interfaceScriptable
- Specified by:
getClassName
in classScriptableObject
-
getMaxInstanceId
protected int getMaxInstanceId()Description copied from class:IdScriptableObject
Get maximum id findInstanceIdInfo can generate.- Overrides:
getMaxInstanceId
in classIdScriptableObject
-
setInstanceIdAttributes
protected void setInstanceIdAttributes(int id, int attr) Description copied from class:IdScriptableObject
Update the attributes of the given instance property. Classes which want to support changing property attributes via Object.defineProperty must override this method. The default implementation throws InternalError.- Overrides:
setInstanceIdAttributes
in classIdScriptableObject
- Parameters:
id
- the instance property idattr
- the new attribute bitset
-
findInstanceIdInfo
Description copied from class:IdScriptableObject
Map name to id of instance property. Should return 0 if not found or the result ofIdScriptableObject.instanceIdInfo(int, int)
.- Overrides:
findInstanceIdInfo
in classIdScriptableObject
-
getInstanceIdName
Description copied from class:IdScriptableObject
Map id back to property name it defines.- Overrides:
getInstanceIdName
in classIdScriptableObject
-
getInstanceIdValue
Description copied from class:IdScriptableObject
Get id value. * If id value is constant, descendant can call cacheIdValue to store * value in the permanent cache. * Default implementation creates IdFunctionObject instance for given id * and cache its value- Overrides:
getInstanceIdValue
in classIdScriptableObject
-
setInstanceIdValue
Description copied from class:IdScriptableObject
Set or delete id value. If value == NOT_FOUND , the implementation should make sure that the following getInstanceIdValue return NOT_FOUND.- Overrides:
setInstanceIdValue
in classIdScriptableObject
-
fillConstructorProperties
- Overrides:
fillConstructorProperties
in classIdScriptableObject
-
initPrototypeId
protected void initPrototypeId(int id) - Overrides:
initPrototypeId
in classIdScriptableObject
-
execIdCall
public Object execIdCall(IdFunctionObject f, Context cx, Scriptable scope, Scriptable thisObj, Object[] args) Description copied from class:IdScriptableObject
'thisObj' will be null if invoked as constructor, in which case * instance of Scriptable should be returned.- Specified by:
execIdCall
in interfaceIdFunctionCall
- Overrides:
execIdCall
in classIdScriptableObject
-
get
Description copied from class:ScriptableObject
Returns the value of the indexed property or NOT_FOUND.- Specified by:
get
in interfaceScriptable
- Overrides:
get
in classScriptableObject
- Parameters:
index
- the numeric index for the propertystart
- the object in which the lookup began- Returns:
- the value of the property (may be null), or NOT_FOUND
- See Also:
-
has
Description copied from class:ScriptableObject
Returns true if the property index is defined.- Specified by:
has
in interfaceScriptable
- Overrides:
has
in classScriptableObject
- Parameters:
index
- the numeric index for the propertystart
- the object in which the lookup began- Returns:
- true if and only if the property was found in the object
- See Also:
-
toArrayIndex
-
toArrayIndex
-
toArrayIndex
private static long toArrayIndex(double d) -
toDenseIndex
-
put
Description copied from class:ScriptableObject
Sets the value of the named property, creating it if need be.If the property was created using defineProperty, the appropriate setter method is called.
If the property's attributes include READONLY, no action is taken. This method will actually set the property in the start object.
- Specified by:
put
in interfaceScriptable
- Overrides:
put
in classIdScriptableObject
- Parameters:
id
- the name of the propertystart
- the object whose property is being setvalue
- value to set the property to- See Also:
-
ensureCapacity
private boolean ensureCapacity(int capacity) -
put
Description copied from class:ScriptableObject
Sets the value of the indexed property, creating it if need be.- Specified by:
put
in interfaceScriptable
- Overrides:
put
in classScriptableObject
- Parameters:
index
- the numeric index for the propertystart
- the object whose property is being setvalue
- value to set the property to- See Also:
-
delete
public void delete(int index) Description copied from class:ScriptableObject
Removes the indexed property from the object.If the property is not found, or it has the PERMANENT attribute, no action is taken.
- Specified by:
delete
in interfaceScriptable
- Overrides:
delete
in classScriptableObject
- Parameters:
index
- the numeric index for the property- See Also:
-
getIds
- Overrides:
getIds
in classIdScriptableObject
-
getIndexIds
-
getDefaultValue
Description copied from class:ScriptableObject
Implements the [[DefaultValue]] internal method.Note that the toPrimitive conversion is a no-op for every type other than Object, for which [[DefaultValue]] is called. See ECMA 9.1.
A
hint
of null means "no hint".- Specified by:
getDefaultValue
in interfaceScriptable
- Overrides:
getDefaultValue
in classScriptableObject
- Parameters:
hint
- the type hint- Returns:
- the default value for the object
See ECMA 8.6.2.6.
-
defaultIndexPropertyDescriptor
-
getAttributes
public int getAttributes(int index) Description copied from class:ScriptableObject
Get the attributes of an indexed property.- Overrides:
getAttributes
in classScriptableObject
- Parameters:
index
- the numeric index for the property- Returns:
- the bitset of attributes
- See Also:
-
getOwnPropertyDescriptor
- Overrides:
getOwnPropertyDescriptor
in classIdScriptableObject
-
defineOwnProperty
Description copied from class:ScriptableObject
Defines a property on an object.Based on [[DefineOwnProperty]] from 8.12.10 of the spec.
- Overrides:
defineOwnProperty
in classIdScriptableObject
- Parameters:
cx
- the current Contextid
- the name/index of the propertydesc
- the new property descriptor, as described in 8.6.1checkValid
- whether to perform validity checks
-
jsConstructor
See ECMA 15.4.1,2 -
callConstructorOrCreateArray
private static Scriptable callConstructorOrCreateArray(Context cx, Scriptable scope, Scriptable arg, long length, boolean lengthAlways) -
js_from
-
js_of
-
getLength
public long getLength() -
jsGet_length
Deprecated.UsegetLength()
instead. -
setDenseOnly
void setDenseOnly(boolean denseOnly) Change the value of the internal flag that determines whether all storage is handed by a dense backing array rather than an associative store.- Parameters:
denseOnly
- new value for denseOnly flag- Throws:
IllegalArgumentException
- if an attempt is made to enable denseOnly after it was disabled; NativeArray code is not written to handle switching back to a dense representation
-
setLength
-
getLengthProperty
-
setLengthProperty
-
deleteElem
-
getElem
-
getRawElem
-
defineElem
-
setElem
-
setRawElem
-
toStringHelper
private static String toStringHelper(Context cx, Scriptable scope, Scriptable thisObj, boolean toSource, boolean toLocale) -
js_join
See ECMA 15.4.4.3 -
js_reverse
private static Scriptable js_reverse(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) See ECMA 15.4.4.4 -
js_sort
See ECMA 15.4.4.5 -
js_push
-
js_pop
-
js_shift
-
js_unshift
-
js_splice
-
isConcatSpreadable
-
concatSpreadArg
-
doConcat
private static long doConcat(Context cx, Scriptable scope, Scriptable result, Object arg, long offset) -
js_concat
private static Scriptable js_concat(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) -
js_slice
-
toSliceIndex
private static long toSliceIndex(double value, long length) -
js_indexOf
-
js_lastIndexOf
private static Object js_lastIndexOf(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) -
js_includes
-
js_fill
-
js_copyWithin
private static Object js_copyWithin(Context cx, Scriptable scope, Scriptable thisObj, Object[] args) -
iterativeMethod
private static Object iterativeMethod(Context cx, IdFunctionObject idFunctionObject, Scriptable scope, Scriptable thisObj, Object[] args) Implements the methods "every", "filter", "forEach", "map", and "some". -
reduceMethod
private static Object reduceMethod(Context cx, int id, Scriptable scope, Scriptable thisObj, Object[] args) Implements the methods "reduce" and "reduceRight". -
js_isArray
-
contains
- Specified by:
contains
in interfaceCollection
- Specified by:
contains
in interfaceList
-
toArray
- Specified by:
toArray
in interfaceCollection
- Specified by:
toArray
in interfaceList
-
toArray
- Specified by:
toArray
in interfaceCollection
- Specified by:
toArray
in interfaceList
-
containsAll
- Specified by:
containsAll
in interfaceCollection
- Specified by:
containsAll
in interfaceList
-
size
public int size()- Specified by:
size
in interfaceCollection
- Specified by:
size
in interfaceList
- Overrides:
size
in classScriptableObject
-
isEmpty
public boolean isEmpty()- Specified by:
isEmpty
in interfaceCollection
- Specified by:
isEmpty
in interfaceList
- Overrides:
isEmpty
in classScriptableObject
-
get
-
get
-
indexOf
-
lastIndexOf
- Specified by:
lastIndexOf
in interfaceList
-
iterator
-
listIterator
- Specified by:
listIterator
in interfaceList
-
listIterator
- Specified by:
listIterator
in interfaceList
-
add
- Specified by:
add
in interfaceCollection
- Specified by:
add
in interfaceList
-
remove
- Specified by:
remove
in interfaceCollection
- Specified by:
remove
in interfaceList
-
addAll
- Specified by:
addAll
in interfaceCollection
- Specified by:
addAll
in interfaceList
-
removeAll
- Specified by:
removeAll
in interfaceCollection
- Specified by:
removeAll
in interfaceList
-
retainAll
- Specified by:
retainAll
in interfaceCollection
- Specified by:
retainAll
in interfaceList
-
clear
public void clear()- Specified by:
clear
in interfaceCollection
- Specified by:
clear
in interfaceList
-
add
-
addAll
-
set
-
remove
-
subList
-
checkModCount
private void checkModCount(int modCount) -
findPrototypeId
- Overrides:
findPrototypeId
in classIdScriptableObject
-
findPrototypeId
- Overrides:
findPrototypeId
in classIdScriptableObject
-
getLength()
instead.