Class Collation.ASCII

java.lang.Object
com.couchbase.lite.Collation
com.couchbase.lite.Collation.ASCII
Enclosing class:
Collation

public static final class Collation.ASCII extends Collation
ASCII collation compares two strings by using binary comparison.
  • Method Details

    • setIgnoreCase

      @NonNull public Collation.ASCII setIgnoreCase(boolean ignCase)
      Specifies whether the collation is case-insensitive or not. Case-insensitive collation will treat ASCII uppercase and lowercase letters as equivalent.
      Overrides:
      setIgnoreCase in class Collation
      Parameters:
      ignCase - True for case-insensitive; false for case-sensitive.
      Returns:
      The Unicode Collation object.