Click or drag to resize

CollectionAlgorithms Class

Contains algorithms that operate on collections.
Inheritance Hierarchy
SystemObject
  AGI.Foundation.InfrastructureCollectionAlgorithms

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

The CollectionAlgorithms type exposes the following members.

Methods
  NameDescription
Public methodStatic memberBinarySearchT(IListT, T)
Public methodStatic memberBinarySearchT(IListT, T, IComparerT)
Public methodStatic memberBinarySearchT(IListT, T, IComparerT, Int32, Int32)
Public methodStatic memberBinarySearchTListItem, TMatchItem(IListTListItem, TMatchItem, CollectionAlgorithmsComparisonOfDifferentTypesTListItem, TMatchItem)
Uses a binary search algorithm to locate a specific element in the sorted IListT. The element to search for can be a different type from the items in the collection.
Public methodStatic memberBinarySearchTListItem, TMatchItem(IListTListItem, TMatchItem, CollectionAlgorithmsComparisonOfDifferentTypesTListItem, TMatchItem, Int32, Int32)
Uses a binary search algorithm to locate a specific element in the sorted IListT. 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 memberReverseT
Reverses the sequences of elements in a collection.
Top
See Also