Fix documentation of Collator: Greater and GreaterOrEqual are not commutative (that would mean Greater(s1, s2) is the same as

Greater(s2, s1), and adding a negation in front of them is not enough either.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@43233 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Adrien Destugues 2011-11-11 09:19:19 +00:00
parent f69cadd0e9
commit 5caae4d450

View File

@ -210,8 +210,8 @@
int8 strength) const
\brief Determine if a string is greater than another.
\note This method is commutative meaning that !Greater(s1, s2)
is the same as Greater(s2, s1).
\note !Greater(s1, s2) is the same as GreaterOrEqual(s2, s1). This means
there is no need for Lesser(s1, s2) and LesserOrEqual(s1, s2) methods.
\param s1 The first string to compare.
\param s2 The second string to compare.
@ -226,8 +226,7 @@
int8 strength) const
\brief Determines if one string is greater than another.
\note This method is commutative meaning that !GreaterOrEqual(s1, s2)
is the same as GreaterOrEqual(s2, s1).
\note !GreaterOrEqual(s1, s2) is the same as Greater(s2, s1).
\param s1 The first string to compare.
\param s2 The second string to compare.