You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Stephen Colebourne <sc...@btopenworld.com> on 2003/12/08 01:05:27 UTC
[collections] LRUMap - which order?
The old LRUMap ordered the elements eldest to newest in the iterator. The
new LRUMap does the opposite. Should we be sticking to the eldest first
ordering? Or is newest first a better more sensible ordering?
Stephen
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org
Re: [collections] LRUMap - which order?
Posted by __matthewHawthorne <ma...@phreaker.net>.
I think eldest first makes more sense, based on the nature of the class.
Stephen Colebourne wrote:
> The old LRUMap ordered the elements eldest to newest in the iterator. The
> new LRUMap does the opposite. Should we be sticking to the eldest first
> ordering? Or is newest first a better more sensible ordering?
>
> Stephen
---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org