/[classpath]/classpath/java/text/StringCharacterIterator.java
ViewVC logotype

Diff of /classpath/java/text/StringCharacterIterator.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.7.2.3 by gnu_andrew, Sat Sep 10 15:31:47 2005 UTC revision 1.7.2.4 by gnu_andrew, Tue Sep 20 18:46:29 2005 UTC
# Line 143  public final class StringCharacterIterat Line 143  public final class StringCharacterIterat
143     * an existing StringCharacterIterator and resets the beginning and     * an existing StringCharacterIterator and resets the beginning and
144     * ending index.     * ending index.
145     *     *
146     * @param scci The StringCharacterIterator to copy the info from     * @param sci The StringCharacterIterator to copy the info from
147     * @param begin The beginning index of the range we are interested in.     * @param begin The beginning index of the range we are interested in.
148     * @param end The ending index of the range we are interested in.     * @param end The ending index of the range we are interested in.
149     */     */
# Line 340  public final class StringCharacterIterat Line 340  public final class StringCharacterIterat
340              && index == sci.index              && index == sci.index
341              && text.equals (sci.text));              && text.equals (sci.text));
342    }    }
343      
344      /**
345       * Return the hash code for this object.
346       * @return the hash code
347       */
348      public int hashCode()
349      {
350        // Incorporate all the data in a goofy way.
351        return begin ^ end ^ index ^ text.hashCode();
352      }
353    
354    /*************************************************************************/    /*************************************************************************/
355    

Legend:
Removed from v.1.7.2.3  
changed lines
  Added in v.1.7.2.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26