136 |
ParsePosition other = (ParsePosition) obj; |
ParsePosition other = (ParsePosition) obj; |
137 |
return index == other.index && error_index == other.error_index; |
return index == other.index && error_index == other.error_index; |
138 |
} |
} |
139 |
|
|
140 |
|
/** |
141 |
|
* Return the hash code for this object. |
142 |
|
* @return the hash code |
143 |
|
*/ |
144 |
|
public int hashCode() |
145 |
|
{ |
146 |
|
return index ^ error_index; |
147 |
|
} |
148 |
|
|
149 |
/** |
/** |
150 |
* This method returns a <code>String</code> representation of this |
* This method returns a <code>String</code> representation of this |