Package apple.corefoundation.enums
Class CFStringCompareFlags
- java.lang.Object
-
- apple.corefoundation.enums.CFStringCompareFlags
-
public final class CFStringCompareFlags extends java.lang.ObjectFind and compare flags; these are OR'ed together and provided as CFStringCompareFlags in the various functions.
-
-
Field Summary
Fields Modifier and Type Field Description static longAnchoredOnly at the specified starting pointstatic longBackwardsStarting from the end of the stringstatic longCaseInsensitivestatic longDiacriticInsensitiveIf specified, ignores diacritics (o-umlaut == o)static longForcedOrderingIf specified, comparisons are forced to return either kCFCompareLessThan or kCFCompareGreaterThan if the strings are equivalent but not strictly equal, for stability when sorting (e.g.static longLocalizedUser's default locale is used for the comparisonsstatic longNonliteralIf specified, loose equivalence is performed (o-umlaut == o, umlaut)static longNumericallyNumeric comparison is used; that is, Foo2.txt < Foo7.txt < Foo25.txtstatic longWidthInsensitiveIf specified, ignores width differences ('a' == UFF41)
-
-
-
Field Detail
-
CaseInsensitive
public static final long CaseInsensitive
- See Also:
- Constant Field Values
-
Backwards
public static final long Backwards
Starting from the end of the string- See Also:
- Constant Field Values
-
Anchored
public static final long Anchored
Only at the specified starting point- See Also:
- Constant Field Values
-
Nonliteral
public static final long Nonliteral
If specified, loose equivalence is performed (o-umlaut == o, umlaut)- See Also:
- Constant Field Values
-
Localized
public static final long Localized
User's default locale is used for the comparisons- See Also:
- Constant Field Values
-
Numerically
public static final long Numerically
Numeric comparison is used; that is, Foo2.txt < Foo7.txt < Foo25.txt- See Also:
- Constant Field Values
-
DiacriticInsensitive
public static final long DiacriticInsensitive
If specified, ignores diacritics (o-umlaut == o)- See Also:
- Constant Field Values
-
WidthInsensitive
public static final long WidthInsensitive
If specified, ignores width differences ('a' == UFF41)- See Also:
- Constant Field Values
-
ForcedOrdering
public static final long ForcedOrdering
If specified, comparisons are forced to return either kCFCompareLessThan or kCFCompareGreaterThan if the strings are equivalent but not strictly equal, for stability when sorting (e.g. "aaa" > "AAA" with kCFCompareCaseInsensitive specified)- See Also:
- Constant Field Values
-
-