Returns a new instance of Set.

Depends on the subclass, mainly used for copy services like union or intersection.

Property definitions

core $ Set :: new_set
	# Returns a new instance of `Set`.
	#
	# Depends on the subclass, mainly used for copy services
	# like `union` or `intersection`.
	protected fun new_set: Set[E] is abstract
lib/core/collection/abstract_collection.nit:525,2--529,42

core $ ArraySet :: new_set
	redef fun new_set do return new ArraySet[E]
lib/core/collection/array.nit:641,2--44

core $ HashSet :: new_set
	redef fun new_set do return new HashSet[E]
lib/core/collection/hash_collection.nit:477,2--43