Show / Hide Table of Contents

Class SkipList

Static helpers for SkipList<T, TCompare, TRandom>.

Inheritance
System.Object
SkipList
Namespace: Towel.DataStructures
Assembly: Towel.dll
Syntax
public static class SkipList : object

Methods

| Improve this Doc View Source

New<T>(Byte, Nullable<Func<T, T, CompareResult>>, Nullable<Func<Int32, Int32, Int32>>)

Creates a new SkipList object

Declaration
public static SkipList<T, SFunc<T, T, CompareResult>, SFunc<int, int, int>> New<T>(byte levels, Func<T, T, CompareResult>? compare = null, Func<int, int, int>? random = null)
Parameters
Type Name Description
System.Byte levels

The levels of lists within this list

System.Nullable<Func<T, T, CompareResult>> compare
System.Nullable<Func<System.Int32, System.Int32, System.Int32>> random
Returns
Type Description
SkipList<T, SFunc<T, T, CompareResult>, SFunc<System.Int32, System.Int32, System.Int32>>

The new constructed SkipList<T, TCompare, TRandom>.

Type Parameters
Name Description
T
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX