int function ( String arg0 ) { if ( "srini_string" . equalsIgnoreCase ( arg0 ) ) { return JENKINS_HASH ; } else if ( "srini_string" . equalsIgnoreCase ( arg0 ) ) { return MURMUR_HASH ; } else { return INVALID_HASH ; } }
this utility method converts string representation of hash function name to a symbolic constant . currently two function types are supported , `` jenkins '' and `` murmur '' . concode_field_sep int JENKINS_HASH concode_elem_sep int INVALID_HASH concode_elem_sep int MURMUR_HASH concode_field_sep int getHashType concode_elem_sep Hash getInstance concode_elem_sep Hash getInstance concode_elem_sep int hash concode_elem_sep int hash concode_elem_sep int hash