Show / Hide Table of Contents

# Class BitArrayBin

Class used to hold BitArray objects for use in Message Audits.

##### Inheritance

System.Object
BitArrayBin

##### Inherited Members

System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()

###### Namespace: Apache.NMS.ActiveMQ.Util

###### Assembly: Apache.NMS.ActiveMQ.dll

##### Syntax

    public class BitArrayBin

### Constructors

| Improve this Doc View Source

#### BitArrayBin(Int32)

##### Declaration

    public BitArrayBin(int windowSize)

##### Parameters

Type | Name | Description
--- | --- | ---
System.Int32 | windowSize |

### Methods

| Improve this Doc View Source

#### GetBit(Int64)

Get the boolean value at the index

##### Declaration

    public bool GetBit(long index)

##### Parameters

Type | Name | Description
--- | --- | ---
System.Int64 | index |

##### Returns

Type | Description
--- | ---
System.Boolean |

| Improve this Doc View Source

#### GetLastSetIndex()

##### Declaration

    public long GetLastSetIndex()

##### Returns

Type | Description
--- | ---
System.Int64 |

| Improve this Doc View Source

#### IsInOrder(Int64)

Test if the next message is in order.

##### Declaration

    public bool IsInOrder(long index)

##### Parameters

Type | Name | Description
--- | --- | ---
System.Int64 | index |

##### Returns

Type | Description
--- | ---
System.Boolean |

| Improve this Doc View Source

#### SetBit(Int64, Boolean)

##### Declaration

    public bool SetBit(long index, bool val)

##### Parameters

Type | Name | Description
--- | --- | ---
System.Int64 | index |
System.Boolean | val |

##### Returns

Type | Description
--- | ---
System.Boolean |