Udostępnij za pośrednictwem


BitSet.ValueOf Method

Definition

Overloads

ValueOf(ByteBuffer)

Returns a new bit set containing all the bits in the given byte buffer between its position and limit.

ValueOf(LongBuffer)

Returns a new bit set containing all the bits in the given long buffer between its position and limit.

ValueOf(Byte[])

Returns a new bit set containing all the bits in the given byte array.

ValueOf(Int64[])

Returns a new bit set containing all the bits in the given long array.

ValueOf(ByteBuffer)

Returns a new bit set containing all the bits in the given byte buffer between its position and limit.

[Android.Runtime.Register("valueOf", "(Ljava/nio/ByteBuffer;)Ljava/util/BitSet;", "")]
public static Java.Util.BitSet? ValueOf (Java.Nio.ByteBuffer? bb);
[<Android.Runtime.Register("valueOf", "(Ljava/nio/ByteBuffer;)Ljava/util/BitSet;", "")>]
static member ValueOf : Java.Nio.ByteBuffer -> Java.Util.BitSet

Parameters

bb
ByteBuffer

a byte buffer containing a little-endian representation of a sequence of bits between its position and limit, to be used as the initial bits of the new bit set

Returns

a BitSet containing all the bits in the buffer in the specified range

Attributes

Remarks

Java documentation for java.util.BitSet.valueOf(java.nio.ByteBuffer).

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

ValueOf(LongBuffer)

Returns a new bit set containing all the bits in the given long buffer between its position and limit.

[Android.Runtime.Register("valueOf", "(Ljava/nio/LongBuffer;)Ljava/util/BitSet;", "")]
public static Java.Util.BitSet? ValueOf (Java.Nio.LongBuffer? lb);
[<Android.Runtime.Register("valueOf", "(Ljava/nio/LongBuffer;)Ljava/util/BitSet;", "")>]
static member ValueOf : Java.Nio.LongBuffer -> Java.Util.BitSet

Parameters

lb
LongBuffer

a long buffer containing a little-endian representation of a sequence of bits between its position and limit, to be used as the initial bits of the new bit set

Returns

a BitSet containing all the bits in the buffer in the specified range

Attributes

Remarks

Java documentation for java.util.BitSet.valueOf(java.nio.LongBuffer).

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

ValueOf(Byte[])

Returns a new bit set containing all the bits in the given byte array.

[Android.Runtime.Register("valueOf", "([B)Ljava/util/BitSet;", "")]
public static Java.Util.BitSet? ValueOf (byte[]? bytes);
[<Android.Runtime.Register("valueOf", "([B)Ljava/util/BitSet;", "")>]
static member ValueOf : byte[] -> Java.Util.BitSet

Parameters

bytes
Byte[]

a byte array containing a little-endian representation of a sequence of bits to be used as the initial bits of the new bit set

Returns

a BitSet containing all the bits in the byte array

Attributes

Remarks

Java documentation for java.util.BitSet.valueOf(byte[]).

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

ValueOf(Int64[])

Returns a new bit set containing all the bits in the given long array.

[Android.Runtime.Register("valueOf", "([J)Ljava/util/BitSet;", "")]
public static Java.Util.BitSet? ValueOf (long[]? longs);
[<Android.Runtime.Register("valueOf", "([J)Ljava/util/BitSet;", "")>]
static member ValueOf : int64[] -> Java.Util.BitSet

Parameters

longs
Int64[]

a long array containing a little-endian representation of a sequence of bits to be used as the initial bits of the new bit set

Returns

a BitSet containing all the bits in the long array

Attributes

Remarks

Java documentation for java.util.BitSet.valueOf(long[]).

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