Logo Search packages:      
Sourcecode: icu version File versions

UBool Collator::equals ( 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 strings are equal according to the collation rules. false, otherwise.
See also:

Definition at line 111 of file coll.cpp.

References Collator::compare().

Referenced by CollationAPITest::TestCompare().

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

Generated by  Doxygen 1.6.0   Back to index