2 using System
.Collections
.Generic
;
4 public class OrderedMultiDictionary
<T
,U
>
6 private RedBlackTree
<KeyValuePair
<T
,U
>> tree
;
8 private void EnumerateKeys (RedBlackTree
<KeyValuePair
<T
,U
>>.RangeTester rangeTester
)
10 tree
.EnumerateRange (rangeTester
);
14 internal class RedBlackTree
<S
>
16 public delegate int RangeTester (S item
);
18 public void EnumerateRange (RangeTester rangeTester
)
25 public static void Main ()