Language

JavaSingleArray Constructors

Definition

Overloads

Name Description
JavaSingleArray(IEnumerable<Single>)

Creates a Java float array containing the supplied sequence values.

JavaSingleArray(IList<Single>)

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

JavaSingleArray(Int32)

Creates a Java float array with the specified length.

JavaSingleArray(JniObjectReference, JniObjectReferenceOptions)

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

JavaSingleArray(IEnumerable<Single>)

Creates a Java float array containing the supplied sequence values.

public JavaSingleArray(System.Collections.Generic.IEnumerable<float> value);
new Java.Interop.JavaSingleArray : seq<single> -> Java.Interop.JavaSingleArray

Parameters

value
IEnumerable<Single>

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

JavaSingleArray(IList<Single>)

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

public JavaSingleArray(System.Collections.Generic.IList<float> value);
new Java.Interop.JavaSingleArray : System.Collections.Generic.IList<single> -> Java.Interop.JavaSingleArray

Parameters

value
IList<Single>

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

JavaSingleArray(Int32)

Creates a Java float array with the specified length.

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

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

JavaSingleArray(JniObjectReference, JniObjectReferenceOptions)

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

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

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