# Level2Collection
Collection sorted of [`UaEquityLevelData`](../messages/market/UaEquityLevelData.md) with specified comparison.

## Properties

### `collection`
[`UaEquityLevelData[]`](../messages/market/UaEquityLevelData.md)<br/>
Collection of [`UaEquityLevelData`](../messages/market/UaEquityLevelData.md). Modify this collection - does not recommended.

### `length`
`Number`<br/>
Length of collection, this property is **readonly**.

## Methods

### `add`
`add(levelData: UaEquityLevelData)`<br/>
Add new [`UaEquityLevelData`](../messages/market/UaEquityLevelData.md) to this collection.

### `remove`
`remove(levelData: UaEquityLevelData) => Boolean`<br/>
Remove [`UaEquityLevelData`](../messages/market/UaEquityLevelData.md) from this collection,
returns was [`UaEquityLevelData`](../messages/market/UaEquityLevelData.md) removed from this collection.

### `removeWhere`
`removeWhere(predicate: Function)`<br/>
Remove all [`UaEquityLevelData`](../messages/market/UaEquityLevelData.md) that satisfy specified predicate from this collection.

### `clear`
`clear()`<br/>
Clear collection.
