Provides an abstract type for a multi-set data structure. These behave like a normal set, except they keep count of the number of times which an item has been added.
procedure(get_func), public, deferred :: get | Returns the number of times this item is present in the set. |
Provides an abstract type for a multi-set data structure. These
behave like a normal set, except they keep count of the number of
times which an item has been added. When an item is removed, the
count will be decremented by 1. The item will only become absent
from the list (has returns .false.
) when the count
reaches zero.