Class IndexHelper
Helper Class for indexing related operations.
Inheritance
System.Object
IndexHelper
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: VDS.RDF
Assembly: dotNetRDF.dll
Syntax
[Obsolete("This helper pertains to obsoleted code and will be removed in future releases", true)]
public static class IndexHelper
Methods
| Improve this Doc View SourceSearchIndex<T>(List<T>, IComparer<T>, T)
Searches an Index using the given Comparer.
Declaration
[Obsolete("This helper pertains to obsoleted code and will be removed in future releases", true)]
public static IEnumerable<T> SearchIndex<T>(this List<T> index, IComparer<T> comparer, T search)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.List<T> | index | Index. |
System.Collections.Generic.IComparer<T> | comparer | Comparer to use for binary search. |
T | search | Item to search for. |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<T> |
Type Parameters
Name | Description |
---|---|
T | Indexed Object Type. |