/** * @see Object#hashCode() */ @Override public int hashCode() { if (hashCode == 0) { int h = 17; h = 37 * h + name.hashCode(); h = 37 * h + nodeId.hashCode(); hashCode = h; } return hashCode; }
public int hashCode() { // ChildNodeEntry is immutable, we can store the computed hash code value int h = hash; if (h == 0) { h = 17; h = 37 * h + name.hashCode(); h = 37 * h + id.hashCode(); h = 37 * h + index; hash = h; } return h; } }
public int hashCode() { // ChildNodeEntry is immutable, we can store the computed hash code value int h = hash; if (h == 0) { h = 17; h = 37 * h + name.hashCode(); h = 37 * h + id.hashCode(); h = 37 * h + index; hash = h; } return h; } }
/** * @see Object#hashCode() */ @Override public int hashCode() { if (hashCode == 0) { int h = 17; h = 37 * h + name.hashCode(); h = 37 * h + nodeId.hashCode(); hashCode = h; } return hashCode; }
/** * @see Object#hashCode() */ @Override public int hashCode() { if (hashCode == 0) { int h = 17; h = 37 * h + name.hashCode(); h = 37 * h + nodeId.hashCode(); h = 37 * h + Boolean.valueOf(isDeep).hashCode(); hashCode = h; } return hashCode; }
/** * @see Object#hashCode() */ @Override public int hashCode() { if (hashCode == 0) { int h = 17; h = 37 * h + name.hashCode(); h = 37 * h + nodeId.hashCode(); h = 37 * h + Boolean.valueOf(isDeep).hashCode(); hashCode = h; } return hashCode; }
/** * Returns a hashCode for this <code>EventState</code>. * * @return a hashCode for this <code>EventState</code>. */ public int hashCode() { int h = hashCode; if (h == 0) { h = 37; h = 37 * h + type; h = 37 * h + (parentId != null ? parentId.hashCode() : 0); h = 37 * h + (childRelPath != null ? childRelPath.hashCode() : 0); h = 37 * h + session.hashCode(); h = 37 * h + info.hashCode(); hashCode = h; } return hashCode; }
/** * {@inheritDoc} */ public int hashCode() { return getId().hashCode(); }
/** * {@inheritDoc} */ public int hashCode() { return getId().hashCode(); }
/** * Creates a property identifier instance for the identified property. * * @param parentId the id of the parent node * @param propName Name of the property */ public PropertyId(NodeId parentId, Name propName) { if (parentId == null) { throw new IllegalArgumentException("parentId can not be null"); } if (propName == null) { throw new IllegalArgumentException("propName can not be null"); } this.parentId = parentId; this.propName = propName; int h = 17; h = 37 * h + parentId.hashCode(); h = 37 * h + propName.hashCode(); this.hashCode = h; }
/** * Returns a hashCode for this <code>EventState</code>. * * @return a hashCode for this <code>EventState</code>. */ public int hashCode() { int h = hashCode; if (h == 0) { h = 37; h = 37 * h + type; h = 37 * h + (parentId != null ? parentId.hashCode() : 0); h = 37 * h + (childRelPath != null ? childRelPath.hashCode() : 0); h = 37 * h + session.hashCode(); h = 37 * h + info.hashCode(); hashCode = h; } return hashCode; }
/** * Creates a property identifier instance for the identified property. * * @param parentId the id of the parent node * @param propName Name of the property */ public PropertyId(NodeId parentId, Name propName) { if (parentId == null) { throw new IllegalArgumentException("parentId can not be null"); } if (propName == null) { throw new IllegalArgumentException("propName can not be null"); } this.parentId = parentId; this.propName = propName; int h = 17; h = 37 * h + parentId.hashCode(); h = 37 * h + propName.hashCode(); this.hashCode = h; }
/** * {@inheritDoc} */ public int hashCode() { return nodeId.hashCode(); }
/** * {@inheritDoc} */ public int hashCode() { return nodeId.hashCode() ^ userId.hashCode(); }