JArray<E> class
- Inheritance
- Available Extensions
Constructors
-
JArray(JType<
E> elementType, int length) -
Creates a JArray of the given length from the given
elementType
.factory -
JArray.fromReference(JType<
E> elementType, JReference reference) -
Construct a new JArray with
reference
as its underlying reference.
Properties
-
$type
→ JArrayType<
E> -
latefinal
-
elementType
→ JType<
E> -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isNull → bool
-
no setterinherited
- isReleased → bool
-
no setterinherited
- jClass → JClass
-
Returns JClass corresponding to concrete class of this object.
no setterinherited
- length → int
-
The number of elements in this array.
no setter
- reference → JReference
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
castTo<
T extends JObject> (JObjType< T> type, {bool releaseOriginal = false}) → T -
Casts this object to another
type
.inherited -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
release(
) → void -
Releases the underlying reference.
inherited
-
releasedBy(
Arena arena) → void -
Registers this object to be released at the end of
arena
's lifetime.inherited -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited