Show / Hide Table of Contents

# Class AVLTree<T>

##### Inheritance

object
AVLTree<T>
EntityFilter<T>

##### Implements

IEnumerable<T>
IEnumerable

###### Namespace: LiteEntitySystem.Collections

###### Assembly: LiteEntitySystem.dll

##### Syntax

    public class AVLTree<T> : IEnumerable<T>, IEnumerable where T : IComparable<T>

##### Type Parameters

Name | Description
--- | ---
T |

### Properties

#### Count

Elements count

##### Declaration

    public int Count { get; }

##### Property Value

Type | Description
--- | ---
int |

### Methods

#### Contains(T)

##### Declaration

    public bool Contains(T item)

##### Parameters

Type | Name | Description
--- | --- | ---
T | item |

##### Returns

Type | Description
--- | ---
bool |

#### GetEnumerator()

##### Declaration

    public AVLTree<T>.Enumerator GetEnumerator()

##### Returns

Type | Description
--- | ---
AVLTree<T>.Enumerator |

#### TryGetMax(out T)

##### Declaration

    public bool TryGetMax(out T element)

##### Parameters

Type | Name | Description
--- | --- | ---
T | element |

##### Returns

Type | Description
--- | ---
bool |

#### TryGetMin(out T)

##### Declaration

    public bool TryGetMin(out T element)

##### Parameters

Type | Name | Description
--- | --- | ---
T | element |

##### Returns

Type | Description
--- | ---
bool |

### Implements

IEnumerable<T>
IEnumerable