public static long calc(String arg){
  if (arg == null)   return 0;
  long h=initialHash;
  for (int i=0; i < arg.length(); ++i) {
    h=(h << 1) ^ (h >>> 63) ^ mixMaster[(arg.charAt(i) ^ (arg.charAt(i) >>> 8)) & 0xff];
  }
  return h;
}

public static long calc ( String arg ) { if ( arg == null ) return 0 ; long h = initialHash ; for ( int i = 0 ; i < arg . length ( ) ; ++ i ) { h = ( h << 1 ) ^ ( h > > > 63 ) ^ mixMaster [ ( arg . charAt ( i ) ^ ( arg . charAt ( i ) > > > 8 ) ) & 0xff ] ; } return h ; }
calculates hash value of string
