MONC
|
Pushes an integer element onto the stack or queue. More...
Private Member Functions | |
subroutine | stack_push_int (specificstack, int_data) |
Pushes an element onto the stack (LIFO) More... | |
subroutine | queue_push_int (specificqueue, int_data) |
Adds an element to the end of the queue (FIFO) More... | |
Pushes an integer element onto the stack or queue.
This has a time complexity of O(1)
collection | The specific stack or queue involved |
data | Integer data to push onto the collection |
Definition at line 122 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 | Integer data to add to the queue |
Definition at line 2485 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 | Integer data to push onto the stack |
Definition at line 2189 of file collections.F90.