public final class VCSHashURL
extends java.lang.Object
Wrapper class for URLs stored in Maps or Collections that may be backed with
a hash table or subject to equivalence relations. It is common antipattern to
store URLs in data structures that require (or encourage) comparisons of keys
or entries. URL.equals(Object) and URL.hashCode both perform
host comparison by name resolution through the DNS, which may be inordinately
slow. This class provides an equality behavior based on the URL's external
form.