Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IStack<V, P, S>

Generic interface for collections implementing stack functionality.

Type parameters

  • V

    value type

  • P

    return type for pop()

  • S

    return type for push()

Hierarchy

  • IStack

Index

Methods

peek

  • peek(): undefined | V

pop

  • pop(): undefined | P

push

  • push(x: V): S

Generated using TypeDoc