int function ( Object ... arg0 ) { int loc0 = SEED ; for ( Object loc1 : arg0 ) { loc0 *= ODD_PRIME_NUMBER ; int loc2 = ( loc1 != null ) ? loc1 . hashCode ( ) : 0 ; loc0 += loc2 ; } return loc0 ; }
a helper class to create nice hash codes using a similar algorithm to josh bloch 's effective java book concode_field_sep int SEED concode_elem_sep int ODD_PRIME_NUMBER concode_field_sep boolean equal concode_elem_sep int compare concode_elem_sep int compare concode_elem_sep void notNull