QueueG.pushNthLink

Inserts @link into @queue at the given position.

class QueueG
void
pushNthLink
(
int n
,)

Parameters

n int

the position to insert the link. If this is negative or larger than the number of elements in @queue, the link is added to the end of @queue.

the link to add to @queue

Meta