{@inheritDoc}
()
| 193 | * {@inheritDoc} |
| 194 | */ |
| 195 | @Override |
| 196 | public int hashCode() { |
| 197 | long hashCode = 1; |
| 198 | for (int i = 0, n = pos; i < n; i++) { |
| 199 | double v = getQuick(i); |
| 200 | hashCode = 31 * hashCode + (v == noEntryValue ? 0 : Double.doubleToLongBits(v)); |
| 201 | } |
| 202 | return (int) hashCode; |
| 203 | } |
| 204 | |
| 205 | public int indexOf(double o) { |
| 206 | for (int i = 0, n = pos; i < n; i++) { |