mirror of
https://github.com/FossifyOrg/Notes.git
synced 2026-09-17 08:22:47 -04:00
extending a comment
This commit is contained in:
1 parent
63e75ec2d8
commit
cfc6ee3d04
1 file changed
+1
-1
+1
-1
@@ -5,7 +5,7 @@ import java.text.Collator
|
||||
/**
|
||||
* Collator-based string comparator
|
||||
*
|
||||
* Adapted from AlphanumericComparator to support numerical collation.
|
||||
* Adapted from AlphanumericComparator to support numerical collation. It sorts accents properly too.
|
||||
*/
|
||||
class CollatorBasedComparator : Comparator<String> {
|
||||
override fun compare(string1: String, string2: String): Int {
|
||||
|
||||
Reference in new issue
Block a user