Package java.util
Class BitSet

Public Method hashCode

int hashCode()

Overrides:

_INSERT_METHOD_SIGNATURE_HERE_

Description:

Returns a hash code value for this bit set. The hash code depends only on which bits have been set with this BitSet.

Example

   BitSet bitset = new BitSet(6);
   bitset.set(0);
   Logger.log("hash code of the bitset: " + bitset.hashCode());

The example above returns the hash code of the bitset.