push-front ( obj deque -- )
Factor handbook » The language » Collections » Deques

Prev:node-value ( node -- value )
Next:push-all-front ( seq deque -- )


Vocabulary
deques

Inputs
objan object
dequea deque


Outputs
None

Word description
Push the object onto the front of the deque.

Notes
This operation is O(1).

Definition