2 using System
.Collections
.Generic
;
4 public class OrderedMultiDictionary
<T
,U
>
6 private RedBlackTree
<KeyValuePair
<T
,U
>> tree
;
8 private IEnumerator
<T
> EnumerateKeys (RedBlackTree
<KeyValuePair
<T
,U
>>.RangeTester rangeTester
)
10 tree
.EnumerateRange (rangeTester
);
15 internal class RedBlackTree
<S
>
17 public delegate int RangeTester (S item
);
19 public IEnumerable
<S
> EnumerateRange (RangeTester rangeTester
)