Table of Contents

Class BitArray

Namespace
Apache.NMS.ActiveMQ.Util
Assembly
Apache.NMS.ActiveMQ.dll
public class BitArray
Inheritance
BitArray
Inherited Members

Constructors

BitArray()

public BitArray()

BitArray(long)

public BitArray(long bits)

Parameters

bits long

Fields

BYTE_SIZE

public const int BYTE_SIZE = 8

Field Value

int

INT_SIZE

public const int INT_SIZE = 32

Field Value

int

LONG_SIZE

public const int LONG_SIZE = 64

Field Value

int

SHORT_SIZE

public const int SHORT_SIZE = 16

Field Value

int

Properties

Bits

public long Bits { get; }

Property Value

long

Length

public int Length { get; }

Property Value

int

Methods

Get(int)

public bool Get(int index)

Parameters

index int

Returns

bool

Reset()

public void Reset()

Reset(long)

public void Reset(long bits)

Parameters

bits long

Set(int, bool)

public bool Set(int index, bool flag)

Parameters

index int
flag bool

Returns

bool