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.

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

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