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:
parent
02e549bfaa
commit
8f523f3a10
1241 changed files with 97711 additions and 25284 deletions
|
@ -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();
|
||||
}
|
||||
|
||||
/*************************************************************************/
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue