MONC
|
Returns the number of elements in the collection. More...
Private Member Functions | |
integer function | list_size (specificlist) |
Returns the number of elements in a list. More... | |
integer function | stack_size (specificstack) |
Returns the number of elements held on the stack. More... | |
integer function | queue_size (specificqueue) |
Returns the number of elements held in a queue. More... | |
integer function | map_size (specificmap) |
Returns the number of elements in the map. More... | |
integer function | hashmap_size (specificmap) |
Returns the number of elements in the hashmap. More... | |
integer function | hashset_size (specificset) |
Returns the number of elements in a list. More... | |
Returns the number of elements in the collection.
This has a time complexity of O(1)
collection | The specific list, queue, stack or map involved |
Definition at line 428 of file collections.F90.
|
private |
Returns the number of elements in the hashmap.
Do not call directly from external module, this is called via the appropriate interface
specificmap | The specific hashmap involved |
Definition at line 1870 of file collections.F90.
|
private |
Returns the number of elements in a list.
Do not call directly from external module, this is called via the appropriate interface
specificlist | The specific list involved |
Definition at line 2152 of file collections.F90.
|
private |
Returns the number of elements in a list.
Do not call directly from external module, this is called via the appropriate interface
specificlist | The specific list involved |
Definition at line 3176 of file collections.F90.
|
private |
Returns the number of elements in the map.
Do not call directly from external module, this is called via the appropriate interface
specificmap | The specific map involved |
Definition at line 1199 of file collections.F90.
|
private |
Returns the number of elements held in a queue.
Do not call directly from external module, this is called via the appropriate interface
specificqueue | The specific queue involved |
Definition at line 2737 of file collections.F90.
|
private |
Returns the number of elements held on the stack.
Do not call directly from external module, this is called via the appropriate interface
specificstack | The specific stack involved |
Definition at line 2441 of file collections.F90.