Table of Contents

Interface ISortList<T>

Namespace
Alternet.Common
Assembly
Alternet.Common.v9.dll

Represents a sorted collection of objects that can be individually accessed by index.

public interface ISortList<T> : IList<T>, ICollection<T>, IEnumerable<T>, IEnumerable

Type Parameters

T
Represents a sorted collection of objects that can be individually accessed by index.
Extension Methods

Methods

FindExact(object, out int, IComparer)

When implemented by a class, finds the given object in the sorted list with assumption that sorted list do not have any duplicates.

FindExact(T, out int, IComparer<T>)

When implemented by a class, finds the given object in the sorted list with assumption that sorted list do not have any duplicates.

FindFirst(object, out int, IComparer)

When implemented by a class, finds the first occurrence of the given object that satisfies searching criteria.

FindFirst(T, out int, IComparer<T>)

When implemented by a class, finds the first occurrence of the given object that satisfies searching criteria.

FindLast(object, out int, IComparer)

When implemented by a class, finds the last occurrence of the given object that satisfies searching criteria.

FindLast(T, out int, IComparer<T>)

When implemented by a class, finds the last occurrence of the given object that satisfies searching criteria.

NeedSort(IComparer<T>)

When implemented by a class, determines if the list needs sorting based on given criteria.

Sort(IComparer<T>)

When implemented by a class, sorts the elements in the entire sort list using the specified comparer.