Imported GNU Classpath 0.19 + gcj-import-20051115.
* sources.am: Regenerated.
* Makefile.in: Likewise.
* scripts/makemake.tcl: Use glob -nocomplain.
From-SVN: r107049
This commit is contained in:
@@ -143,7 +143,7 @@ public final class StringCharacterIterator implements CharacterIterator
|
||||
* an existing StringCharacterIterator and resets the beginning and
|
||||
* ending index.
|
||||
*
|
||||
* @param scci The StringCharacterIterator to copy the info from
|
||||
* @param sci The StringCharacterIterator to copy the info from
|
||||
* @param begin The beginning index of the range we are interested in.
|
||||
* @param end The ending index of the range we are interested in.
|
||||
*/
|
||||
@@ -340,6 +340,16 @@ public final class StringCharacterIterator implements CharacterIterator
|
||||
&& index == sci.index
|
||||
&& text.equals (sci.text));
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the hash code for this object.
|
||||
* @return the hash code
|
||||
*/
|
||||
public int hashCode()
|
||||
{
|
||||
// Incorporate all the data in a goofy way.
|
||||
return begin ^ end ^ index ^ text.hashCode();
|
||||
}
|
||||
|
||||
/*************************************************************************/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user