MONC
|
Pushes a logical element onto the stack or queue. More...
Private Member Functions | |
subroutine | stack_push_logical (specificstack, logical_data) |
Pushes an element onto the stack (LIFO) More... | |
subroutine | queue_push_logical (specificqueue, logical_data) |
Adds an element to the end of the queue (FIFO) More... | |
Pushes a logical element onto the stack or queue.
This has a time complexity of O(1)
collection | The specific stack or queue involved |
data | Logical data to push onto the collection |
Definition at line 149 of file collections.F90.
|
private |
Adds an element to the end of the queue (FIFO)
Do not call directly from external module, this is called via the appropriate interface
specificqueue | The specific queue involved |
data | Logical data to add to the queue |
Definition at line 2530 of file collections.F90.
|
private |
Pushes an element onto the stack (LIFO)
Do not call directly from external module, this is called via the appropriate interface
specificstack | The specific stack involved |
data | Logical data to push onto the stack |
Definition at line 2234 of file collections.F90.