/** * The hash code. */ public int hashCode() { int result = 31 + (attr!=null ? attr.hashCode() : 0); result = result*31 + tupleindex; result = result*31 + subindex; return result; }
/** * The hash code. */ public int hashCode() { return 31 + (attr!=null ? attr.hashCode() : 0); }
/** * The hash code. */ public int hashCode() { return 31 + (attr!=null ? attr.hashCode() : 0); }
/** * Create a new OAV attribute type. */ private OAVAttributeType(String name) { this.name = name; this.hashcode = hashCode(); }
/** * The hash code. */ public int hashCode() { return 31 + (attr!=null ? attr.hashCode() : 0); }
/** * The hash code. */ public int hashCode() { int result = 31 + (attr!=null ? attr.hashCode() : 0); result = result*31 + tupleindex; return result; }
/** * The hash code. */ public int hashCode() { int result = 31 + (attr!=null ? attr.hashCode() : 0); result = result*31 + tupleindex; return result; }
/** * Create a new OAV attribute type. */ private OAVAttributeType(String name) { this.name = name; this.hashcode = hashCode(); }
/** * The hash code. */ public int hashCode() { return 31 + (attr!=null ? attr.hashCode() : 0); }
/** * The hash code. */ public int hashCode() { int result = 31 + (attr!=null ? attr.hashCode() : 0); result = result*31 + tupleindex; result = result*31 + subindex; return result; }
/** * Generate the hash code. */ public int hashCode() { int result = 31 + attr.hashCode(); result = 31 * result + object.hashCode(); return result; }
/** * Generate the hash code. */ public int hashCode() { int result = 31 + attr.hashCode(); result = 31 * result + object.hashCode(); return result; }
/** * Compute the hascode. * @return The hashcode. */ public int hashCode() { int ret; if(!attribute.getMultiplicity().equals(OAVAttributeType.NONE)) { ret = super.hashCode(); } else { final int prime = 31; ret = prime * id.hashCode(); ret = prime * ret + type.hashCode(); ret = prime * ret + attribute.hashCode(); } return ret; }
/** * Compute the hascode. * @return The hashcode. */ public int hashCode() { int ret; if(!attribute.getMultiplicity().equals(OAVAttributeType.NONE)) { ret = super.hashCode(); } else { final int prime = 31; ret = prime * id.hashCode(); ret = prime * ret + type.hashCode(); ret = prime * ret + attribute.hashCode(); } return ret; }