protected override bool MustBubbleUp(MaxHeap <Quote> child, MaxHeap <Quote> parent) { return(child.CompareTo(parent) > 0); }
protected override bool StopBubbleUp(MaxHeap <Quote> parent, MaxHeap <Quote> child) { return(parent.CompareTo(child) > -1); }