Methods Summary |
---|
public final org.apache.harmony.misc.HashCode | append(float value)Appends value's hashCode to the current hashCode.
hashCode = combine(hashCode, value);
return this;
|
public final org.apache.harmony.misc.HashCode | append(double value)Appends value's hashCode to the current hashCode.
hashCode = combine(hashCode, value);
return this;
|
public final org.apache.harmony.misc.HashCode | append(boolean value)Appends value's hashCode to the current hashCode.
hashCode = combine(hashCode, value);
return this;
|
public final org.apache.harmony.misc.HashCode | append(java.lang.Object value)Appends value's hashCode to the current hashCode.
hashCode = combine(hashCode, value);
return this;
|
public final org.apache.harmony.misc.HashCode | append(int value)Appends value's hashCode to the current hashCode.
hashCode = combine(hashCode, value);
return this;
|
public final org.apache.harmony.misc.HashCode | append(long value)Appends value's hashCode to the current hashCode.
hashCode = combine(hashCode, value);
return this;
|
public static int | combine(int hashCode, boolean value)Combines hashCode of previous elements sequence and value's hashCode.
int v = value ? 1231 : 1237;
return combine(hashCode, v);
|
public static int | combine(int hashCode, long value)Combines hashCode of previous elements sequence and value's hashCode.
int v = (int) (value ^ (value >>> 32));
return combine(hashCode, v);
|
public static int | combine(int hashCode, float value)Combines hashCode of previous elements sequence and value's hashCode.
int v = Float.floatToIntBits(value);
return combine(hashCode, v);
|
public static int | combine(int hashCode, double value)Combines hashCode of previous elements sequence and value's hashCode.
long v = Double.doubleToLongBits(value);
return combine(hashCode, v);
|
public static int | combine(int hashCode, java.lang.Object value)Combines hashCode of previous elements sequence and value's hashCode.
return combine(hashCode, value.hashCode());
|
public static int | combine(int hashCode, int value)Combines hashCode of previous elements sequence and value's hashCode.
return 31 * hashCode + value;
|
public final int | hashCode()Returns accumulated hashCode
return hashCode;
|