hashCode method using primes
Wednesday, November 30th, 2005I was coding up a new Java class yesterday. I was planning on using it in collections so I followed some good advice and wrote an equals and a hashCode method for it. On my new project we are using the commons lang library for this sort of thing. They have […]