Hi Gerd

Beware that the sort with keys (as used in all of Mdr) only sorts to
the TERTIARY level, so doing a IDENTICAL scan (either with collator or
.equals()) can give strange results as IDENTICAL entries might not be
adjacent.

Ticker
 
On Fri, 2021-12-03 at 10:04 +0000, svn commit wrote:
> Version mkgmap-r4829 was committed by gerd on Fri, 03 Dec 2021
> BRANCH: mdr2
> - document that getCollator creates a new instance of SrtCollator
> - force and document that the SrtCollator constructor sets strength
> to TERTIARY
> - if strength is set to IDENTICAL return String.compareTo() instead
> of 0 when strings are TERTIARY equal (just for experiments)
> 
> http://www.mkgmap.org.uk/websvn/revision.php?repname=mkgmap&rev=4829
> _______________________________________________
> mkgmap-svn mailing list
> To unsubscribe send an mail to mkgmap-svn-le...@lists.mkgmap.org.uk
> https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-svn


_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to