Danny Angus wrote:

Surely in this instance the easiest way to obtain the correct behaviour is
to delegate the equality to String.equals() and compare the internal STring
represanetaion of the called object with the toString() of the argument?

I think if you were going to delegate, then delegate to java.net.URI, ditto for hashcode().


Bill de h�ra




Reply via email to