JavaBooleanArray Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| JavaBooleanArray(IEnumerable<Boolean>) |
Creates a Java |
| JavaBooleanArray(IList<Boolean>) |
Creates a Java |
| JavaBooleanArray(Int32) |
Creates a Java |
| JavaBooleanArray(JniObjectReference, JniObjectReferenceOptions) |
Initializes an array wrapper through the runtime's peer-construction policy. |
JavaBooleanArray(IEnumerable<Boolean>)
Creates a Java boolean array containing the supplied sequence values.
public JavaBooleanArray(System.Collections.Generic.IEnumerable<bool> value);
new Java.Interop.JavaBooleanArray : seq<bool> -> Java.Interop.JavaBooleanArray
Parameters
- value
- IEnumerable<Boolean>
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
JavaBooleanArray(IList<Boolean>)
Creates a Java boolean array and copies the supplied list values.
public JavaBooleanArray(System.Collections.Generic.IList<bool> value);
new Java.Interop.JavaBooleanArray : System.Collections.Generic.IList<bool> -> Java.Interop.JavaBooleanArray
Parameters
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
JavaBooleanArray(Int32)
Creates a Java boolean array with the specified length.
public JavaBooleanArray(int length);
new Java.Interop.JavaBooleanArray : int -> Java.Interop.JavaBooleanArray
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
JavaBooleanArray(JniObjectReference, JniObjectReferenceOptions)
Initializes an array wrapper through the runtime's peer-construction policy.
public JavaBooleanArray(ref Java.Interop.JniObjectReference handle, Java.Interop.JniObjectReferenceOptions options);
new Java.Interop.JavaBooleanArray : JniObjectReference * Java.Interop.JniObjectReferenceOptions -> Java.Interop.JavaBooleanArray
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.