Java Hash Calculate hashAdd(final int left, final int right)

Here you can find the source of hashAdd(final int left, final int right)

Description

hash Add

License

Apache License

Declaration

public static int hashAdd(final int left, final int right) 

Method Source Code

//package com.java2s;
//License from project: Apache License 

public class Main {
    public static int hashAdd(final int left, final int right) {
        return 37 * (left + right);
    }/*w  w  w .  j  a  v a 2 s  . co m*/
}

Related

  1. Hash32(byte[] v, int iStart, int iLength)
  2. hash32shiftmult(int k)
  3. hash64(final byte[] data, int length)
  4. hash64To32(long lg)
  5. hash64to32(long v)
  6. hashAll(Object[] array)
  7. hasHangulJongSung(char ch)
  8. hashArray(int h, Object[] a)
  9. hashArray(Object[] array)