BitSet 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
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 |
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
if bitCount
.
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
- 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.