See comments above about using a hashCode.