W3cubDocs

/Haxe Java

NativeArray<T>

package java

Available on java

Represents a java fixed-size Array (T[])

Static methods

staticmake<T>(elements:Rest<T>):NativeArray<T>

Creates a new array with the specified elements.

Usage:

var elements = NativeArray.make(1,2,3,4,5,6);

Constructor

new(len:Int)

Allocates a new array with size len

Variables

read onlylength:Int

The length of the array

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/java/NativeArray.html