Yes, the WHICH method controls how the hashing happens.

But the more fundamental principle is that the method always return
the same value for the same objects. This tends to be implemented by
returning either (a representation of) the reference, or the value
itself (which must then not be mutable).

// Carl

On Mon, Dec 1, 2014 at 12:22 PM, Theo van den Heuvel
<vdheu...@heuvelhlt.nl> wrote:
> Thanks, Carl, that helps. I just need to add a WHICH method. great.
>
> Theo
>

Reply via email to