size {flifo}R Documentation

Size of a stack

Description

The function size returns the size of a stack, in bytes. The function max_size returns the maximum number of objects a stack can contains; this number can be changed with max_size<-.

Usage

size(.stack)

max_size(.stack)

max_size(x) <- value

Arguments

.stack

A stack.

x

A stack.

value

numeric. The new maximum size of the stack.

Value

size always returns a nonnegative numeric. max_size returns a (possibly infinite) nonnegative numeric.


[Package flifo version 0.1.5 Index]