ocean.util.container.more.Stack

Members

Classes

StackBoundsException
class StackBoundsException

Exception that indicates any kind of out of bound access in stack, for example, trying to pop from empty one.

Static functions

runTests
void runTests(NamedTest t, T stack)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

Stack
struct Stack(V, int Size = 0)

A stack of the given value-type V, with maximum depth Size. Note that this does no memory allocation of its own when Size != 0, and does heap allocation when Size == 0. Thus you can have a fixed-size low-overhead instance, or a heap oriented instance.

Meta

License

Tango Dual License: 3-Clause BSD License / Academic Free License v3.0. See LICENSE_TANGO.txt for details.