Thank you for reply. Actually I want to hash the URLs that I crawl and to index them.
That's why I want the guidance on hashing.

Every class has a hashCode method. Just don't use the URL class for this because it's broken. use the URI class.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.