Package com.couchbase.lite
Class Collation.ASCII
java.lang.Object
com.couchbase.lite.Collation
com.couchbase.lite.Collation.ASCII
- Enclosing class:
- Collation
ASCII collation compares two strings by using binary comparison.
-
Nested Class Summary
Nested classes/interfaces inherited from class com.couchbase.lite.Collation
Collation.ASCII, Collation.Unicode
-
Method Summary
Modifier and TypeMethodDescriptionsetIgnoreCase
(boolean ignCase) Specifies whether the collation is case-insensitive or not.
-
Method Details
-
setIgnoreCase
Specifies whether the collation is case-insensitive or not. Case-insensitive collation will treat ASCII uppercase and lowercase letters as equivalent.- Parameters:
ignCase
- True for case-insensitive; false for case-sensitive.- Returns:
- The Unicode Collation object.
-