com.intel.hadoop.graphbuilder.util
Class HashUtil

java.lang.Object
  extended by com.intel.hadoop.graphbuilder.util.HashUtil

public class HashUtil
extends java.lang.Object

Implementation of a hash combine from boost.

Author:
Haijie Gu

Constructor Summary
HashUtil()
           
 
Method Summary
static int hashpair(java.lang.Object o1, java.lang.Object o2)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HashUtil

public HashUtil()
Method Detail

hashpair

public static int hashpair(java.lang.Object o1,
                           java.lang.Object o2)
Parameters:
o1 -
o2 -
Returns:
the hash value of a pair of objects.