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 |
*/ |
*/ |
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 |
|
|