Michael Hunger wrote:
> from java.lang.method
>      /**
>       * Returns a hashcode for this <code>Method</code>.  The hashcode is 
> computed
>       * as the exclusive-or of the hashcodes for the underlying
>       * method's declaring class name and the method's name.
>       */
>      public int hashCode() {
>       return getDeclaringClass().getName().hashCode() ^ getName().hashCode();
>      }

Oooh I see... yes, for hashCode that is ok, but not for equals. My bad!

/Rickard


_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to