map_queue v0.1.2 MapQueue

Link to this section Summary

Link to this section Types

Link to this type t()
t() :: %MapQueue{
  first: integer(),
  last: integer(),
  map: %{required(integer()) => any()}
}

Link to this section Functions

Link to this function append(queue, enumerable)
append(MapQueue.t(), any()) :: MapQueue.t()
Link to this function do_pop_indexes(queue, arg, first_or_last, boundary_value)
Link to this function new(enumerable)
new(any()) :: MapQueue.t()
Link to this function pop(queue)
pop(MapQueue.t()) :: :empty | {any(), MapQueue.t()}
Link to this function pop(queue, count)
Link to this function pop_rear(queue)
pop_rear(MapQueue.t()) :: :empty | {any(), MapQueue.t()}
Link to this function pop_rear(queue, count)
pop_rear(MapQueue.t(), non_neg_integer()) :: {list(), MapQueue.t()}
Link to this function prepend(queue, enumerable)
prepend(MapQueue.t(), any()) :: MapQueue.t()
Link to this function push(queue, value)
push(MapQueue.t(), any()) :: MapQueue.t()
Link to this function push_front(queue, value)
push_front(MapQueue.t(), any()) :: MapQueue.t()
Link to this function slice(map_queue, index, amount)
slice(MapQueue.t(), any(), any()) :: MapQueue.t()