Get the next item if any.

Returns null if there is no next item.

Property definitions

core $ CachedIterator :: next_item
	# Get the next item if any.
	# Returns null if there is no next item.
	fun next_item: nullable E is abstract
lib/core/collection/abstract_collection.nit:317,2--319,38

core $ LineIterator :: next_item
	redef fun next_item
	do
		if stream.eof then
			if close_on_finish then stream.close
			return null
		end
		return stream.read_line
	end
lib/core/stream.nit:492,2--499,4