int () { int result = 1; for (int i = 0; i < myNameValues.length; i += 2) { String name = myNameValues[i]; String value = myNameValues[i + 1]; result = result * 31 + JDOMInterner.computeAttributeHashCode(name, value); } return result; }