Пример #1
0
 /// <summary>
 /// Implement Comparable contract (compare key at head of proxied RR
 /// with that of another).
 /// </summary>
 public override int CompareTo(ComposableRecordReader <K, object> other)
 {
     return(cmp.Compare(Key(), other.Key()));
 }
Пример #2
0
 public int Compare(ComposableRecordReader <K, object> o1, ComposableRecordReader <K
                                                                                   , object> o2)
 {
     return(this._enclosing.cmp.Compare(o1.Key(), o2.Key()));
 }