def hashCode(self): """ generated source for method hashCode """ bytes = self.name.__str__().getBytes() bigInt = BigInteger(bytes) val = bigInt.bitCount() + bigInt.intValue() return val + self.idx