BitSet Constructors

Definition

Overloads

BitSet()

Creates a new bit set.

BitSet(Int32)

Creates a bit set whose initial size is large enough to explicitly represent bits with indices in the range 0 through nbits-1.

BitSet(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

BitSet()

Creates a new bit set.

[Android.Runtime.Register(".ctor", "()V", "")]
public BitSet ();
Attributes

Remarks

Creates a new bit set. All bits are initially false.

Java documentation for java.util.BitSet.BitSet().

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

BitSet(Int32)

Creates a bit set whose initial size is large enough to explicitly represent bits with indices in the range 0 through nbits-1.

[Android.Runtime.Register(".ctor", "(I)V", "")]
public BitSet (int nbits);
[<Android.Runtime.Register(".ctor", "(I)V", "")>]
new Java.Util.BitSet : int -> Java.Util.BitSet

Parameters

nbits
Int32

the initial size of the bit set

Attributes

Exceptions

Remarks

Creates a bit set whose initial size is large enough to explicitly represent bits with indices in the range 0 through nbits-1. All bits are initially false.

Java documentation for java.util.BitSet.BitSet(.*int).

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

BitSet(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected BitSet (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Util.BitSet : nativeint * Android.Runtime.JniHandleOwnership -> Java.Util.BitSet

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

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