Maps the specified key to its position in the index.
Namespace:
Extreme.DataAnalysis
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public int Lookup(
T key
)
Public Function Lookup (
key As T
) As Integer
public:
int Lookup(
T key
)
member Lookup :
key : 'T -> int
Parameters
- key
- Type: T
The key to locate.
Return Value
Type:
Int32If
key was found in the index, the zero-based position
of the key in the index; otherwise -1.
Reference