SkipList<T>.Find (T, Comparison<T>) Method

Finds an object in the SkipList. The search is O(logn).
Public Function Find( _ 
ByVal val As T, _ 
ByVal comp As Comparison(Of T) _ 
) As SkipListNode(Of T)
This language is not supported or no code example is available.
public SkipListNode<T> Find( 
T val
Comparison<T> comp 
)
This language is not supported or no code example is available.
public:  
SkipListNode<T^>^ Find( 
T^ val
Comparison<T^>^ comp 
)
This language is not supported or no code example is available.
JScript does not support generic types and methods.
This language is not supported or no code example is available.

Parameters

val
T

The value to look for.

comp
Comparison<T>

A comparison function.

Return Value

SkipListNode<T>

Returns the first node with the value val. null if not found.

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

In this article

Definition