Language

JavaInt16Array Constructors

Definition

Overloads

Name Description
JavaInt16Array(IEnumerable<Int16>)

Creates a Java short array containing the supplied sequence values.

JavaInt16Array(IList<Int16>)

Creates a Java short array and copies the supplied list values.

JavaInt16Array(Int32)

Creates a Java short array with the specified length.

JavaInt16Array(JniObjectReference, JniObjectReferenceOptions)

Initializes an array wrapper through the runtime's peer-construction policy.

JavaInt16Array(IEnumerable<Int16>)

Creates a Java short array containing the supplied sequence values.

public JavaInt16Array(System.Collections.Generic.IEnumerable<short> value);
new Java.Interop.JavaInt16Array : seq<int16> -> Java.Interop.JavaInt16Array

Parameters

value
IEnumerable<Int16>

The non-null sequence whose values are copied.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

JavaInt16Array(IList<Int16>)

Creates a Java short array and copies the supplied list values.

public JavaInt16Array(System.Collections.Generic.IList<short> value);
new Java.Interop.JavaInt16Array : System.Collections.Generic.IList<int16> -> Java.Interop.JavaInt16Array

Parameters

value
IList<Int16>

The source list whose elements are copied.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

JavaInt16Array(Int32)

Creates a Java short array with the specified length.

public JavaInt16Array(int length);
new Java.Interop.JavaInt16Array : int -> Java.Interop.JavaInt16Array

Parameters

length
Int32

The non-negative array length, measured in elements.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

JavaInt16Array(JniObjectReference, JniObjectReferenceOptions)

Initializes an array wrapper through the runtime's peer-construction policy.

public JavaInt16Array(ref Java.Interop.JniObjectReference handle, Java.Interop.JniObjectReferenceOptions options);
new Java.Interop.JavaInt16Array : JniObjectReference * Java.Interop.JniObjectReferenceOptions -> Java.Interop.JavaInt16Array

Parameters

handle
JniObjectReference

The JNI array reference. An invalid reference can be used with None for deferred peer initialization.

options
JniObjectReferenceOptions

Reference-transfer and peer-registration options passed to the runtime.

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to