Udostępnij za pośrednictwem


BitSet.Size Method

Definition

Returns the number of bits of space actually in use by this BitSet to represent bit values.

[Android.Runtime.Register("size", "()I", "GetSizeHandler")]
public virtual int Size ();
[<Android.Runtime.Register("size", "()I", "GetSizeHandler")>]
abstract member Size : unit -> int
override this.Size : unit -> int

Returns

the number of bits currently in this bit set

Attributes

Remarks

Returns the number of bits of space actually in use by this BitSet to represent bit values. The maximum element in the set is the size - 1st element.

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

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