public static int hash ( int initialNonZeroOddNumber , int multiplierNonZeroOddNumber , Object ... objs ) { int result = initialNonZeroOddNumber ; for ( Object obj : objs ) { result = multiplierNonZeroOddNumber * result + ( obj != null ? obj . hashCode ( ) : 0 ) ; } return result ; }
Computes a hashCode given the input objects .