List of usage examples for org.apache.mahout.common RandomUtils hashDouble
public static int hashDouble(double value)
From source file:com.mashup.resys.recommender.SimilarUser.java
License:Apache License
@Override public int hashCode() { return (int) userID ^ RandomUtils.hashDouble(similarity); }