]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/common/uvector.h
ICU-57165.0.1.tar.gz
[apple/icu.git] / icuSources / common / uvector.h
index a04176266f45760ac778cfdfa224b1618e2a4d9e..56e974b541e5427fe19a128c1f290dc5c85c89ba 100644 (file)
@@ -1,6 +1,6 @@
 /*
 **********************************************************************
-*   Copyright (C) 1999-2011, International Business Machines
+*   Copyright (C) 1999-2016, International Business Machines
 *   Corporation and others.  All Rights Reserved.
 **********************************************************************
 *   Date        Name        Description
@@ -59,7 +59,7 @@ U_NAMESPACE_BEGIN
  *
  * <p>In order to implement methods such as contains() and indexOf(),
  * UVector needs a way to compare objects for equality.  To do so, it
- * uses a comparison frunction, or "comparer."  If the comparer is not
+ * uses a comparison function, or "comparer."  If the comparer is not
  * set, or is set to zero, then all such methods will act as if the
  * vector contains no element.  That is, indexOf() will always return
  * -1, contains() will always return FALSE, etc.
@@ -243,9 +243,9 @@ public:
     void sort(UElementComparator *compare, UErrorCode &ec);
 
     /**
-     * Sort the contents of this vector using a caller-supplied function
+     * Stable sort the contents of this vector using a caller-supplied function
      * of type UComparator to do the comparison.  Provides more flexibility
-     * than uvector::sort() because an additional user-parameter can be passed to
+     * than UVector::sort() because an additional user parameter can be passed to
      * the comparison function.
      */
     void sortWithUComparator(UComparator *compare, const void *context, UErrorCode &ec);