UNPKG

rc-js-util

Version:

A collection of TS and C++ utilities to help writing performant and correct applications, achieved through strict typing and (removable) invariant checking.

78 lines (37 loc) 1.09 kB
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [rc-js-util](./rc-js-util.md) &gt; [IFIFOStack](./rc-js-util.ififostack.md) ## IFIFOStack interface Circular first in first out stack. **Signature:** ```typescript export interface IFIFOStack<TValue> ``` ## Methods <table><thead><tr><th> Method </th><th> Description </th></tr></thead> <tbody><tr><td> [getCapacity()](./rc-js-util.ififostack.getcapacity.md) </td><td> </td></tr> <tr><td> [getIsEmpty()](./rc-js-util.ififostack.getisempty.md) </td><td> </td></tr> <tr><td> [getRemainingCapacity()](./rc-js-util.ififostack.getremainingcapacity.md) </td><td> </td></tr> <tr><td> [pop()](./rc-js-util.ififostack.pop.md) </td><td> Remove the first inserted element in the stack and return it. </td></tr> <tr><td> [push(value)](./rc-js-util.ififostack.push.md) </td><td> Pushes a value to the front of the stack (depending on `mode`<!-- -->). </td></tr> </tbody></table>