protected internal override bool LessThan(OrdAndValue <int> a, OrdAndValue <int> b) { if (a.Value < b.Value) { return(true); } else if (a.Value > b.Value) { return(false); } else { return(a.Ord > b.Ord); } }
public override bool LessThan(OrdAndValue a, OrdAndValue b) { if (a.Value < b.Value) { return(true); } else if (a.Value > b.Value) { return(false); } else { return(a.Ord > b.Ord); } }
public bool Equals(OrdAndValue <T> other) { return(this.Ord == other.Ord && this.Value.Equals(other.Value)); }