capacity.Heap {Containers}R Documentation

Determine a Heap's Memory Allocation

Description

This method returns the of elements the Heap is capable of holding. The method can be used in conjunction with size and contract to ensure optimum memory usage.

Details

aHeap$capacity()

Value

capacity returns a nonnegative integer.

Author(s)

John Hughes


[Package Containers version 1.2 Index]