Custom bitset which is memory efficient. ShortBitSet uses Short primitive ( 16-bit) to store upto 16 booleans in its bit positions.