[mkgmap-dev] [mkgmap-svn] Commit r4829: - document that getCollator creates a new instance of SrtCollator
From Gerd Petermann gpetermann_muenchen at hotmail.com on Fri Dec 3 12:03:22 GMT 2021
Hi Ticker, thanks for the hint. So it's probably better to throw an exception in setStrength()? Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces at lists.mkgmap.org.uk> im Auftrag von Ticker Berkin <rwb-mkgmap at jagit.co.uk> Gesendet: Freitag, 3. Dezember 2021 11:39 An: mkgmap-dev at lists.mkgmap.org.uk; mkgmap-svn at lists.mkgmap.org.uk Betreff: Re: [mkgmap-dev] [mkgmap-svn] Commit r4829: - document that getCollator creates a new instance of SrtCollator 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 _______________________________________________ mkgmap-dev mailing list mkgmap-dev at lists.mkgmap.org.uk https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
- Previous message: [mkgmap-dev] [mkgmap-svn] Commit r4829: - document that getCollator creates a new instance of SrtCollator
- Next message: [mkgmap-dev] [mkgmap-svn] Commit r4829: - document that getCollator creates a new instance of SrtCollator
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list