void ensureSize(long position) {
		assertNonNegativePosition(position);
		if (position >= this.size) {
			this.validHashCode = false;
			long newSize = position + 1;
			int arrayOfBitsLength = this.arrayOfBits.length;
			int sizeInWords = getSizeInWords(newSize);
			while (sizeInWords > arrayOfBitsLength) {
				arrayOfBitsLength = GROWTH_FACTOR * arrayOfBitsLength;
			}
			resizeArray(arrayOfBitsLength);
			this.size = newSize;
		}
	}
void ensureSize ( long position ) { assertNonNegativePosition ( position ) ; if ( position >= this . size ) { this . validHashCode = false ; long newSize = position + 1 ; int arrayOfBitsLength = this . arrayOfBits . length ; int sizeInWords = getSizeInWords ( newSize ) ; while ( sizeInWords > arrayOfBitsLength ) { arrayOfBitsLength = GROWTH_FACTOR * arrayOfBitsLength ; } resizeArray ( arrayOfBitsLength ) ; this . size = newSize ; } }
Ensures that the bit vector is large enough to contain an element at the
given position. If the bit vector needs to be enlarged, new
<code>false</code> elements are added.

@param position
position