logo separator

[mkgmap-dev] [mkgmap-svn] Commit r4829: - document that getCollator creates a new instance of SrtCollator

From Ticker Berkin rwb-mkgmap at jagit.co.uk on Fri Dec 3 10:39:28 GMT 2021

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-leave at lists.mkgmap.org.uk
> https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-svn




More information about the mkgmap-dev mailing list