blob: e6699d4d0febbaa3b62d26e5949e344a6f3333b9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace ILCompiler
{
internal interface ISortableDataStructureAccessor<T, TDataStructure>
{
T GetElement(TDataStructure dataStructure, int i);
void SetElement(TDataStructure dataStructure, int i, T value);
void SwapElements(TDataStructure dataStructure, int i, int i2);
void Copy(TDataStructure source, int sourceIndex, T[] target, int destIndex, int length);
void Copy(T[] source, int sourceIndex, TDataStructure target, int destIndex, int length);
int GetLength(TDataStructure dataStructure);
}
}
|