Click or drag to resize

CollectionAlgorithms Class

Contains algorithms that operate on collections.
Inheritance Hierarchy
System.Object
  AGI.Foundation.Infrastructure.CollectionAlgorithms

Namespace:  AGI.Foundation.Infrastructure
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 25.1.421.0 (25.1.421.0)
Syntax
public static class CollectionAlgorithms

The CollectionAlgorithms type exposes the following members.

Methods
  NameDescription
Public methodStatic memberBinarySearch<T>(IList<T>, T)
Public methodStatic memberBinarySearch<T>(IList<T>, T, IComparer<T>)
Public methodStatic memberBinarySearch<T>(IList<T>, T, IComparer<T>, Int32, Int32)
Public methodStatic memberBinarySearch<TListItem, TMatchItem>(IList<TListItem>, TMatchItem, CollectionAlgorithms.ComparisonOfDifferentTypes<TListItem, TMatchItem>)
Uses a binary search algorithm to locate a specific element in the sorted IList<T>. The element to search for can be a different type from the items in the collection.
Public methodStatic memberBinarySearch<TListItem, TMatchItem>(IList<TListItem>, TMatchItem, CollectionAlgorithms.ComparisonOfDifferentTypes<TListItem, TMatchItem>, Int32, Int32)
Uses a binary search algorithm to locate a specific element in the sorted IList<T>. The element to search for can be a different type from the items in the collection.
Public methodStatic memberCreateJaggedDoubleArray
Creates a two-dimensional, jagged double array of the specified dimensions.
Public methodStatic memberReverse<T>
Reverses the sequences of elements in a collection.
Top
See Also