Example usage for org.apache.commons.math.util MathUtils hash

List of usage examples for org.apache.commons.math.util MathUtils hash

Introduction

In this page you can find the example usage for org.apache.commons.math.util MathUtils hash.

Prototype

public static int hash(double[] value) 

Source Link

Document

Returns an integer hash code representing the given double array.

Usage

From source file:acromusashi.stream.ml.clustering.kmeans.entity.KmeansPoint.java

/**
 * {@inheritDoc}
 */
@Override
public int hashCode() {
    return MathUtils.hash(this.dataPoint);
}