Enlarge the collection to have at least the specified capacity.

The capacity is specified in number of nodes. Used to minimize the number of times the collection need to be resized when adding nodes in batches.

Do nothing by default.

Property definitions

neo4j $ NeoNodeCollection :: enlarge
	# Enlarge the collection to have at least the specified capacity.
	#
	# The capacity is specified in number of nodes. Used to minimize the
	# number of times the collection need to be resized when adding nodes
	# in batches.
	#
	# Do nothing by default.
	fun enlarge(cap: Int) do end
lib/neo4j/graph/graph.nit:89,2--96,29

neo4j $ SequentialNodeCollection :: enlarge
	redef fun enlarge(cap) do nodes.enlarge(cap)
lib/neo4j/graph/sequential_id.nit:70,2--45