eol
[mcs.git] / tests / gtest-277.cs
blobdbfb9d209aef927161180abf23eb3e9ed2cd5914
1 using System;
2 using System.Collections.Generic;
4 public interface INode<K> : IComparable<K> where K : IComparable<K>
6 K Key {
7 get;
11 public interface IBTNode<C> where C : IBTNode<C>
13 C Parent {
14 get;
15 set;
18 C Left {
19 get;
20 set;
23 C Right {
24 get;
25 set;
29 public interface IBSTNode<K, C> : IBTNode<C>, INode<K>
30 where C : IBSTNode<K, C> where K : IComparable<K>
34 public interface IAVLNode<K, C> : IBSTNode<K, C>
35 where C : IAVLNode<K, C> where K : IComparable<K>
37 int Balance {
38 get;
39 set;
43 class X
45 static void Main ()
46 { }