capacity: Capacity of a Queue

View source: R/QueueClass.R

capacityR Documentation

Capacity of a Queue

Description

capacity returns the maximum number of elements that a Queue object can contain.

Usage

capacity(x)

Arguments

x

A Queue object.

Value

A numeric value.

Author(s)

Simon Garnier, garnier@njit.edu

See Also

Queue, queue

Examples

balloon <- video(system.file("sample_vid/Balloon.mp4", package = "Rvision"))
buf <- queue(balloon)
capacity(buf)


swarm-lab/Rvision documentation built on Feb. 7, 2024, 4:59 a.m.