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 1869 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 2151 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 3175 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 1198 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 2736 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 2440 of file collections.F90.