Udostępnij za pośrednictwem


BitSet.Clear Method

Definition

Overloads

Clear(Int32)

Sets the bit specified by the index to false.

Clear(Int32, Int32)

Sets the bits from the specified fromIndex (inclusive) to the specified toIndex (exclusive) to false.

Clear()

Sets all of the bits in this BitSet to false.

Clear(Int32)

Sets the bit specified by the index to false.

[Android.Runtime.Register("clear", "(I)V", "GetClear_IHandler")]
public virtual void Clear (int bitIndex);
[<Android.Runtime.Register("clear", "(I)V", "GetClear_IHandler")>]
abstract member Clear : int -> unit
override this.Clear : int -> unit

Parameters

bitIndex
Int32

the index of the bit to be cleared

Attributes

Exceptions

Remarks

Java documentation for java.util.BitSet.clear(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

Clear(Int32, Int32)

Sets the bits from the specified fromIndex (inclusive) to the specified toIndex (exclusive) to false.

[Android.Runtime.Register("clear", "(II)V", "GetClear_IIHandler")]
public virtual void Clear (int fromIndex, int toIndex);
[<Android.Runtime.Register("clear", "(II)V", "GetClear_IIHandler")>]
abstract member Clear : int * int -> unit
override this.Clear : int * int -> unit

Parameters

fromIndex
Int32

index of the first bit to be cleared

toIndex
Int32

index after the last bit to be cleared

Attributes

Exceptions

if fromIndex or toIndex is negative, or if toIndex is smaller than fromIndex.

Remarks

Java documentation for java.util.BitSet.clear(int, 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

Clear()

Sets all of the bits in this BitSet to false.

[Android.Runtime.Register("clear", "()V", "GetClearHandler")]
public virtual void Clear ();
[<Android.Runtime.Register("clear", "()V", "GetClearHandler")>]
abstract member Clear : unit -> unit
override this.Clear : unit -> unit
Attributes

Remarks

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

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