Here is the work in progress.
https://github.com/motlin/eclipse-collections/commit/d7fdd0b086450abadc5225283e7f6da4d1dcc699
It's just about API. It's taking a built-in LinkedHashMap and adapting it to the Eclipse Collections API. I'm not sure how hard it would be to write a new implementation
from scratch.
From: collections-dev-bounces@xxxxxxxxxxx [mailto:collections-dev-bounces@xxxxxxxxxxx]
On Behalf Of Alexis Drogoul
Sent: Saturday, January 07, 2017 10:49 PM
To: collections developer discussions
Subject: Re: [collections-dev] Implementation of OrderedMap ?
Thanks for the answer. It would indeed be a nice addition. I did a similar development on top of the trove library for the GAMA modeling platform, with 3 arrays, one keeping track of the insertion order, the 2 others being the 'regular'
ones used by THashMap, and I'm wondering how difficult it would be to extend unifiedmap in a similar direction. Any hints or advices on this?
Alexis
Le 8 janv. 2017 10:00 AM, "Donald Raab" <donraab@xxxxxxxxx> a écrit :
Unfortunately, I could not find any implementation of OrderedMap in Eclipse Collections today. This would be a nice addition to the library, even if it wasn’t as efficient as UnifiedMap. I think this may have been a work in progress.
Hi,
I wonder if there exists an implementation of OrderedMap that would provide the functionality of LinkedHashMap (entries ordered by their insertion date) with the advantages of UnifiedMap in terms of memory and access speed.
--
Senior Researcher, co-director, UMI UMMISCO 209, IRD & UPMC, France.
Director, ICTLab, USTH, Hanoi, Vietnam
_______________________________________________
collections-dev mailing list
collections-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/collections-dev
_______________________________________________
collections-dev mailing list
collections-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/collections-dev
|