Queue-class: A Queue

Description Fields Methods Author(s) See Also Examples

Description

A first-in-first-out data structure. Used by EpivizServer-class objects to queue requests.

Fields

items

Items stored in queue

Methods

push(item): Push item into queue

pop(): Pop item on top of queue

empty(): Empty the queue

Author(s)

Hector Corrada Bravo

See Also

EpivizServer-class

Examples

1
2
3
  theQ <- epivizr:::Queue$new()
  theQ$push("a")
  theQ$pop()

epiviz/epivizr-tmp documentation built on May 16, 2019, 8:19 a.m.