polygene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Niclas Hedhman <nic...@hedhman.org>
Subject Ordering in NamedAssociation
Date Thu, 15 Jun 2017 08:04:20 GMT

The new EntityStoreTestSuite is testing whether ordering (iterator()) is
preserved in the NamedAssociation, so that keys are returned in the same
order they were added.

This is achieved with a LinkedHashMap internally and Map ES will
(de)serialize that map in order.

For Preferences ES and Cassandra ES, this is not so, each entry is stored

Now, the question is; Is ORDERING in NamedAssociation a defined semantic
behavior, or simply a side effect of current implementation?

Niclas Hedhman, Software Developer
http://polygene.apache.org - New Energy for Java

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message