Property definitions

core $ SimpleCollection :: defaultinit
# Items can be added to these collections.
interface SimpleCollection[E]
	super RemovableCollection[E]

	# Add `item` to this collection.
	#
	#     var a = [1,2]
	#     a.add 3
	#     assert a.has(3)  == true
	#     assert a.has(10) == false
	#
	# Ensure col.has(item)
	fun add(item: E) is abstract

	# Add each item of `coll`.
	#
	#     var a = [1,2]
	#     a.add_all([3..5])
	#     assert a.has(4)  == true
	#     assert a.has(10) == false
	fun add_all(coll: Collection[E]) do for i in coll do add(i)
end
lib/core/collection/abstract_collection.nit:423,1--444,3