- Companion:
- object
Value members
Abstract methods
Deletes an element and returns the new bag It doesn't complain if the element doesn't exist
Deletes an element and returns the new bag It doesn't complain if the element doesn't exist
Inserts an element in a bag and returns the new bag
Inserts an element in a bag and returns the new bag
Concrete methods
add an element n times to a bag This default implementation is not efficient, it should be overridden
add an element n times to a bag This default implementation is not efficient, it should be overridden