Save This Page
Home » mahout-collections-1.0-src » org.apache.mahout.math.map » [javadoc | source]
org.apache.mahout.math.map
public final class: HashFunctions [javadoc | source]
java.lang.Object
   org.apache.mahout.math.map.HashFunctions
Provides various hash functions.
Method from org.apache.mahout.math.map.HashFunctions Summary:
hash,   hash,   hash,   hash,   hash,   hash,   hash,   hash
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.apache.mahout.math.map.HashFunctions Detail:
 public static int hash(char value) 
    Returns a hashcode for the specified value.
 public static int hash(double value) 
    Returns a hashcode for the specified value.
 public static int hash(float value) 
    Returns a hashcode for the specified value.
 public static int hash(int value) 
    Returns a hashcode for the specified value.
 public static int hash(long value) 
    Returns a hashcode for the specified value.
 public static int hash(Object object) 
    Returns a hashcode for the specified object.
 public static int hash(short value) 
    Returns a hashcode for the specified value.
 public static int hash(boolean value) 
    Returns a hashcode for the specified value.