Logo Search packages:      
Sourcecode: icu version File versions

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

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

source the source string to be compared with.
target the target string to be compared with.
true if the first string is greater than the second one, according to the collation rules. false, otherwise.
See also:

Definition at line 123 of file coll.cpp.

References Collator::compare().

Referenced by CollationAPITest::TestCompare(), and CollationAPITest::TestSafeClone().

  return (compare(source, target) == GREATER);

Generated by  Doxygen 1.6.0   Back to index