A fast enumerator for sparse bit sets. When the enumerator is
created, it takes a snapshot of the underlying BitVector, and iterates
through the set bits. Note that this class almost implements the
Iterator interface, but it doesn't because the return type of next
is int rather than Object.