/** * Gets a hash code for this instance. * * @return a suitable hashcode */ public int hashCode() { long scalar = iScalar; int hash = (int) (scalar ^ (scalar >>> 32)); hash += getType().hashCode(); hash += getWrappedField().hashCode(); return hash; }
/** * Gets a hash code for this instance. * * @return a suitable hashcode */ public int hashCode() { long scalar = iScalar; int hash = (int) (scalar ^ (scalar >>> 32)); hash += getType().hashCode(); hash += getWrappedField().hashCode(); return hash; }
/** * Compares this duration field to another. * Two fields are equal if of the same type and duration. * * @param obj the object to compare to * @return if equal */ public boolean equals(Object obj) { if (this == obj) { return true; } else if (obj instanceof ScaledDurationField) { ScaledDurationField other = (ScaledDurationField) obj; return (getWrappedField().equals(other.getWrappedField())) && (getType() == other.getType()) && (iScalar == other.iScalar); } return false; }
/** * Compares this duration field to another. * Two fields are equal if of the same type and duration. * * @param obj the object to compare to * @return if equal */ public boolean equals(Object obj) { if (this == obj) { return true; } else if (obj instanceof ScaledDurationField) { ScaledDurationField other = (ScaledDurationField) obj; return (getWrappedField().equals(other.getWrappedField())) && (getType() == other.getType()) && (iScalar == other.iScalar); } return false; }
/** * Gets a hash code for this instance. * * @return a suitable hashcode */ public int hashCode() { long scalar = iScalar; int hash = (int) (scalar ^ (scalar >>> 32)); hash += getType().hashCode(); hash += getWrappedField().hashCode(); return hash; }
/** * Compares this duration field to another. * Two fields are equal if of the same type and duration. * * @param obj the object to compare to * @return if equal */ public boolean equals(Object obj) { if (this == obj) { return true; } else if (obj instanceof ScaledDurationField) { ScaledDurationField other = (ScaledDurationField) obj; return (getWrappedField().equals(other.getWrappedField())) && (getType() == other.getType()) && (iScalar == other.iScalar); } return false; }
/** * Gets a hash code for this instance. * * @return a suitable hashcode */ public int hashCode() { long scalar = iScalar; int hash = (int) (scalar ^ (scalar >>> 32)); hash += getType().hashCode(); hash += getWrappedField().hashCode(); return hash; }
/** * Gets a hash code for this instance. * * @return a suitable hashcode */ public int hashCode() { long scalar = iScalar; int hash = (int) (scalar ^ (scalar >>> 32)); hash += getType().hashCode(); hash += getWrappedField().hashCode(); return hash; }
/** * Gets a hash code for this instance. * * @return a suitable hashcode */ public int hashCode() { long scalar = iScalar; int hash = (int) (scalar ^ (scalar >>> 32)); hash += getType().hashCode(); hash += getWrappedField().hashCode(); return hash; }
/** * Gets a hash code for this instance. * * @return a suitable hashcode */ public int hashCode() { long scalar = iScalar; int hash = (int) (scalar ^ (scalar >>> 32)); hash += getType().hashCode(); hash += getWrappedField().hashCode(); return hash; }
/** * Gets a hash code for this instance. * * @return a suitable hashcode */ public int hashCode() { long scalar = iScalar; int hash = (int) (scalar ^ (scalar >>> 32)); hash += getType().hashCode(); hash += getWrappedField().hashCode(); return hash; }
/** * Gets a hash code for this instance. * * @return a suitable hashcode */ public int hashCode() { long scalar = iScalar; int hash = (int) (scalar ^ (scalar >>> 32)); hash += getType().hashCode(); hash += getWrappedField().hashCode(); return hash; }
/** * Gets a hash code for this instance. * * @return a suitable hashcode */ public int hashCode() { long scalar = iScalar; int hash = (int) (scalar ^ (scalar >>> 32)); hash += getType().hashCode(); hash += getWrappedField().hashCode(); return hash; }
/** * Gets a hash code for this instance. * * @return a suitable hashcode */ public int hashCode() { long scalar = iScalar; int hash = (int) (scalar ^ (scalar >>> 32)); hash += getType().hashCode(); hash += getWrappedField().hashCode(); return hash; }
/** * Compares this duration field to another. * Two fields are equal if of the same type and duration. * * @param obj the object to compare to * @return if equal */ public boolean equals(Object obj) { if (this == obj) { return true; } else if (obj instanceof ScaledDurationField) { ScaledDurationField other = (ScaledDurationField) obj; return (getWrappedField().equals(other.getWrappedField())) && (getType() == other.getType()) && (iScalar == other.iScalar); } return false; }
/** * Compares this duration field to another. * Two fields are equal if of the same type and duration. * * @param obj the object to compare to * @return if equal */ public boolean equals(Object obj) { if (this == obj) { return true; } else if (obj instanceof ScaledDurationField) { ScaledDurationField other = (ScaledDurationField) obj; return (getWrappedField().equals(other.getWrappedField())) && (getType() == other.getType()) && (iScalar == other.iScalar); } return false; }
/** * Compares this duration field to another. * Two fields are equal if of the same type and duration. * * @param obj the object to compare to * @return if equal */ public boolean equals(Object obj) { if (this == obj) { return true; } else if (obj instanceof ScaledDurationField) { ScaledDurationField other = (ScaledDurationField) obj; return (getWrappedField().equals(other.getWrappedField())) && (getType() == other.getType()) && (iScalar == other.iScalar); } return false; }
/** * Compares this duration field to another. * Two fields are equal if of the same type and duration. * * @param obj the object to compare to * @return if equal */ public boolean equals(Object obj) { if (this == obj) { return true; } else if (obj instanceof ScaledDurationField) { ScaledDurationField other = (ScaledDurationField) obj; return (getWrappedField().equals(other.getWrappedField())) && (getType() == other.getType()) && (iScalar == other.iScalar); } return false; }
/** * Compares this duration field to another. * Two fields are equal if of the same type and duration. * * @param obj the object to compare to * @return if equal */ public boolean equals(Object obj) { if (this == obj) { return true; } else if (obj instanceof ScaledDurationField) { ScaledDurationField other = (ScaledDurationField) obj; return (getWrappedField().equals(other.getWrappedField())) && (getType() == other.getType()) && (iScalar == other.iScalar); } return false; }
/** * Compares this duration field to another. * Two fields are equal if of the same type and duration. * * @param obj the object to compare to * @return if equal */ public boolean equals(Object obj) { if (this == obj) { return true; } else if (obj instanceof ScaledDurationField) { ScaledDurationField other = (ScaledDurationField) obj; return (getWrappedField().equals(other.getWrappedField())) && (getType() == other.getType()) && (iScalar == other.iScalar); } return false; }