Logo Search packages:      
Sourcecode: icu version File versions

UBool Collator::greaterOrEqual ( const UnicodeString source,
const UnicodeString target 
) const [inherited]

Convenience method for comparing two strings based on the collation rules.

sourcethe source string to be compared with.
targetthe target string to be compared with.
true if the first string is greater than or equal to the second one, according to the collation rules. false, otherwise.
See also:
Collator::compare ICU 2.0

Definition at line 462 of file coll.cpp.

References Collator::compare(), U_ZERO_ERROR, and UCOL_LESS.

Referenced by CollationAPITest::TestCompare().

    UErrorCode ec = U_ZERO_ERROR;
    return (compare(source, target, ec) != UCOL_LESS);

Here is the call graph for this function:

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index