LinkedBucketListTFind Method (T, FuncT, T, Boolean) |
Finds the bucket with the specified contents using the comparer func specified.
Namespace:
SD.Tools.Algorithmia.GeneralDataStructures
Assembly:
SD.Tools.Algorithmia (in SD.Tools.Algorithmia.dll) Version: 1.2.0.0 (1.2.16.0406)
Syntax public ListBucket<T> Find(
T contents,
Func<T, T, bool> compareFunc
)
Public Function Find (
contents As T,
compareFunc As Func(Of T, T, Boolean)
) As ListBucket(Of T)
Parameters
- contents
- Type: T
The contents. - compareFunc
- Type: SystemFuncT, T, Boolean
The compare func.
Return Value
Type:
ListBucketT
the bucket with the contents or null if not found.
Remarks Uses a linear search
See Also