]> git.saurik.com Git - apple/icu.git/blobdiff - icuSources/test/intltest/sfwdchit.cpp
ICU-66108.tar.gz
[apple/icu.git] / icuSources / test / intltest / sfwdchit.cpp
index 195e200db5a8654e2088848efc0100cda8b3b7e4..9b12161f4c72f12a143db553a3132b489b455581 100644 (file)
@@ -1,10 +1,12 @@
+// © 2016 and later: Unicode, Inc. and others.
+// License & terms of use: http://www.unicode.org/copyright.html
 /********************************************************************
  * COPYRIGHT: 
- * Copyright (c) 1997-2001, International Business Machines Corporation and
+ * Copyright (c) 1997-2003, International Business Machines Corporation and
  * others. All Rights Reserved.
  ********************************************************************/
 /*   file name:  sfwdchit.cpp
-*   encoding:   US-ASCII
+*   encoding:   UTF-8
 *   tab size:   8 (not used)
 *   indentation:4
 */
@@ -21,6 +23,7 @@
 const int32_t SimpleFwdCharIterator::kInvalidHashCode = 0;
 const int32_t SimpleFwdCharIterator::kEmptyHashCode = 1;
 
+#if 0 // not used
 SimpleFwdCharIterator::SimpleFwdCharIterator(const UnicodeString& s) {
 
     fHashCode = kInvalidHashCode;
@@ -36,6 +39,7 @@ SimpleFwdCharIterator::SimpleFwdCharIterator(const UnicodeString& s) {
     }
     
 }
+#endif
 
 SimpleFwdCharIterator::SimpleFwdCharIterator(UChar *s, int32_t len, UBool adopt) {
 
@@ -65,6 +69,7 @@ SimpleFwdCharIterator::~SimpleFwdCharIterator() {
     delete[] fStart;
 }
 
+#if 0 // not used
 UBool SimpleFwdCharIterator::operator==(const ForwardCharacterIterator& that) const {
     if(this == &that) {
         return TRUE;
@@ -84,7 +89,8 @@ UBool SimpleFwdCharIterator::operator==(const ForwardCharacterIterator& that) co
 */
     return FALSE;
 }
-     
+#endif
+
 int32_t SimpleFwdCharIterator::hashCode(void) const {
     if (fHashCode == kInvalidHashCode)
     {