[jcifs] name resolving

Christopher R. Hertel crh at ubiqx.mn.org
Thu Sep 9 21:38:21 GMT 2004


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...

Chris -)-----

-- 
"Implementing CIFS - the Common Internet FileSystem" ISBN: 013047116X
Samba Team -- http://www.samba.org/     -)-----   Christopher R. Hertel
jCIFS Team -- http://jcifs.samba.org/   -)-----   ubiqx development, uninq.
ubiqx Team -- http://www.ubiqx.org/     -)-----   crh at ubiqx.mn.org
OnLineBook -- http://ubiqx.org/cifs/    -)-----   crh at ubiqx.org


More information about the jcifs mailing list