Interval Index<T>.Try Lookup Method
Tries to find the specified key in the index.
Definition
Namespace: Extreme.DataAnalysis
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
true if key was found in the index; otherwise false.
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
public override bool TryLookup(
Interval<T> key,
out int index
)
Parameters
- key Interval<T>
- The key to locate.
- index Int32
- If key was found, the position of the first occurrence of key in the index; otherwise undefined.
Return Value
Booleantrue if key was found in the index; otherwise false.