Rodney Waldhoff wrote:

> 
> Perhaps not as efficiently or cleanly, but couldn't that be handled via a
> custom Comparator on the TreeMap?
>

only problem is you would have to use the custom class to do all
additions and removals from the map - turning it into  a Wrapper class,
so the Comparator functionality is not needed really.

Jari

--
Jari Worsley
Senior Programmer
Hyperlink Interactive Ltd

Reply via email to