This class defines a method called hashcode(). This method does not override the hashCode() method in java.lang.Object, which is probably what was intended.