/** * Returns a hash code value for this object. * * @return A hash code value for this object. */ public int hashCode() { int h = hashCode; if (h == 0) { long bits = Double.doubleToLongBits(value); h = 31 * 17 + ((int) (bits ^ (bits >>> 32))); bits = Double.doubleToLongBits(error); h = 31 * h + ((int) (bits ^ (bits >>> 32))); h = 31 * h + unit.hashCode(); hashCode = h; } return h; }
/** * Returns a hash code value for this object. * * @return A hash code value for this object. */ public int hashCode() { int h = hashCode; if (h == 0) { long bits = Double.doubleToLongBits(value); h = 31 * 17 + ((int) (bits ^ (bits >>> 32))); bits = Double.doubleToLongBits(error); h = 31 * h + ((int) (bits ^ (bits >>> 32))); h = 31 * h + unit.hashCode(); hashCode = h; } return h; }
/** * Returns a hash code value for this object. * * @return A hash code value for this object. */ public int hashCode() { int h = hashCode; if (h == 0) { long bits = Double.doubleToLongBits(value); h = 31 * 17 + ((int) (bits ^ (bits >>> 32))); bits = Double.doubleToLongBits(error); h = 31 * h + ((int) (bits ^ (bits >>> 32))); h = 31 * h + unit.hashCode(); hashCode = h; } return h; }
/** * Returns a hash code value for this object. * * @return A hash code value for this object. */ @Override public int hashCode() { int h = hashCode; if (h == 0) { long bits = Double.doubleToLongBits(value); h = 31 * 17 + ((int) (bits ^ (bits >>> 32))); bits = Double.doubleToLongBits(error); h = 31 * h + ((int) (bits ^ (bits >>> 32))); h = 31 * h + unit.hashCode(); hashCode = h; } return h; }
/** * Returns a hash code value for this object. * * @return A hash code value for this object. */ @Override public int hashCode() { int h = hashCode; if (h == 0) { long bits = Double.doubleToLongBits(value); h = 31 * 17 + ((int) (bits ^ (bits >>> 32))); bits = Double.doubleToLongBits(error); h = 31 * h + ((int) (bits ^ (bits >>> 32))); h = 31 * h + unit.hashCode(); hashCode = h; } return h; }
/** * Returns a hash code value for this object. * * @return A hash code value for this object. */ public int hashCode() { int h = hashCode; if (h == 0) { long bits = Double.doubleToLongBits(value); h = 31 * 17 + ((int) (bits ^ (bits >>> 32))); bits = Double.doubleToLongBits(error); h = 31 * h + ((int) (bits ^ (bits >>> 32))); h = 31 * h + unit.hashCode(); hashCode = h; } return h; }
/** * Returns a hash code value for this object. * * @return A hash code value for this object. */ public int hashCode() { int h = hashCode; if (h == 0) { long bits = Double.doubleToLongBits(value); h = 31 * 17 + ((int) (bits ^ (bits >>> 32))); bits = Double.doubleToLongBits(error); h = 31 * h + ((int) (bits ^ (bits >>> 32))); h = 31 * h + unit.hashCode(); hashCode = h; } return h; }
/** * Returns a hash code value for this object. * * @return A hash code value for this object. */ public int hashCode() { int h = hashCode; if (h == 0) { long bits = Double.doubleToLongBits(value); h = 31 * 17 + ((int) (bits ^ (bits >>> 32))); bits = Double.doubleToLongBits(error); h = 31 * h + ((int) (bits ^ (bits >>> 32))); h = 31 * h + unit.hashCode(); hashCode = h; } return h; }
/** * Returns a hash code value for this object. * * @return A hash code value for this object. */ public int hashCode() { int h = hashCode; if (h == 0) { long bits = Double.doubleToLongBits(value); h = 31 * 17 + ((int) (bits ^ (bits >>> 32))); bits = Double.doubleToLongBits(error); h = 31 * h + ((int) (bits ^ (bits >>> 32))); h = 31 * h + unit.hashCode(); hashCode = h; } return h; }