[jcifs] name resolving

Michael B Allen mba2000 at ioplex.com
Thu Sep 9 23:06:54 GMT 2004


Christopher R. Hertel said:
> On Wed, Sep 08, 2004 at 02:31:38PM -0400, Michael B Allen wrote:
> :
>> Also, note that the hashCode() of an InetAddress is the integer value of
>> the
>> IP. You can then use bitwise operators with those hashCode() values as
>> operands to test for rule #1.
>
> Just curious...  Can you count on this?  I always thought that the
> hashCode() values were supposed to be opaque...

Technically you're right but I would be shocked if they changed the
behavior now.

Mike


More information about the jcifs mailing list