Ensure the internal array's capacity.

Parameters:

  • n: minimum number of attributes that the array must be able to hold.

Property definitions

sax $ AttributesImpl :: ensure_capacity
	# Ensure the internal array's capacity.
	#
	# Parameters:
	#
	# * `n`: minimum number of attributes that the array must be able to hold.
	private fun ensure_capacity(n: Int) do
		data.enlarge(n * 5)
	end
lib/sax/helpers/attributes_impl.nit:422,2--429,4