/** @return a hash code value for the object. */ @Override public int hashCode() { return basic_type.hashCode() ^ dimensions; }
@Override public int hashCode() { // If the user changes the name or type, problems with the targeter hashmap will occur. // Note: index cannot be part of hash as it may be changed by the user. return name.hashCode() ^ type.hashCode(); }
@Override public int hashCode() { int hash = 7; hash = 67 * hash + bugType.hashCode(); hash = 67 * hash + originalPriority; hash = 67 * hash + classContext.getClassDescriptor().hashCode(); hash = 67 * hash + method.getName().hashCode(); hash = 67 * hash + method.getSignature().hashCode(); hash = 67 * hash + method.getReturnType().hashCode(); hash = 67 * hash + instructionHandle.getInstruction().getOpcode(); hash = 67 * hash + instructionHandle.getPosition(); return hash; }
@Override public int hashCode() { int hash = 7; hash = 67 * hash + bugType.hashCode(); hash = 67 * hash + originalPriority; hash = 67 * hash + classContext.getClassDescriptor().hashCode(); hash = 67 * hash + method.getName().hashCode(); hash = 67 * hash + method.getSignature().hashCode(); hash = 67 * hash + method.getReturnType().hashCode(); hash = 67 * hash + instructionHandle.getInstruction().getOpcode(); hash = 67 * hash + instructionHandle.getPosition(); return hash; } }