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