Computes the hash code (bin number) for the specified value @param value @return the hash code
(double value)
| 270 | * @return the hash code |
| 271 | */ |
| 272 | public int hashCode(double value) { |
| 273 | return (int) (Math.floor((value - binOffset) / binWidth)); |
| 274 | } |
| 275 | |
| 276 | /** |
| 277 | * Append a value with number of occurrences to the Histogram. |
no outgoing calls
no test coverage detected