BSL430.NET 1.2.1

Classes | Public Member Functions | Properties | List of all members
RJCP.Datastructures.ReusableList< T > Class Template Reference

Array of elements which can be reused. More...

Inheritance diagram for RJCP.Datastructures.ReusableList< T >:

## Public Member Functions
| ReusableList (int minCapacity, int maxCapacity)
void | Add (T item)
void | Clear ()
bool | Contains (T item)
void | CopyTo (T[] array, int arrayIndex)
IEnumerator< T > | GetEnumerator ()
int | IndexOf (T item)
void | Insert (int index, T item)
bool | Remove (T item)
void | RemoveAt (int index)
T [] | ToArray ()

## Properties
T | this[int index]`[get, set]`
int | Count`[get]`
bool | IsReadOnly`[get]`

## Detailed Description

Array of elements which can be reused.

Template Parameters

  T | The element type that is to be kept.

Behave like a list, that when we convert to an array we don't allocate new objects on the heap like List{T}.

Type Constraints

  T | : | class |

The documentation for this class was generated from the following file:

- C:/PROJECTS/C#/BSL430.NET/src/BSL430.NET/Library/serialportstream/2.1.4/src/Datastructures/ReusableList.cs