a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
28 lines
506 B
C#
28 lines
506 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
|
|
public class OrderedMultiDictionary<T,U>
|
|
{
|
|
private RedBlackTree<KeyValuePair<T,U>> tree;
|
|
|
|
private void EnumerateKeys (RedBlackTree<KeyValuePair<T,U>>.RangeTester rangeTester)
|
|
{
|
|
tree.EnumerateRange (rangeTester);
|
|
}
|
|
}
|
|
|
|
internal class RedBlackTree<S>
|
|
{
|
|
public delegate int RangeTester (S item);
|
|
|
|
public void EnumerateRange (RangeTester rangeTester)
|
|
{
|
|
}
|
|
}
|
|
|
|
class X
|
|
{
|
|
public static void Main ()
|
|
{ }
|
|
}
|