commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stephen Colebourne" <scolebou...@btopenworld.com>
Subject Re: [collections] BinaryHeap and PriorityQueue
Date Fri, 02 Jan 2004 02:20:57 GMT
From: "Phil Steitz" <phil@steitz.com>
> Stephen Colebourne wrote:
>  > Given a choice I would deprecate PQ altogether.
> That would make things simpler.
If no one else comments, I'll do this.

> > I am +1 on renaming to PriorityBuffer.
Done

I was also looking at the heap impl and wondering if the compare method
could check for ascendingOrder, then removing the need for near duplicate
methods (one for minHeap, one for maxHeap) elsewhere. Would this be a good
change?

Stephen


---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message