Documentation ¶
Index ¶
- type Stack
- func (stack *Stack) Empty() bool
- func (stack *Stack) Get(idx int) (value interface{})
- func (stack *Stack) Pop() (interface{}, error)
- func (stack *Stack) Print()
- func (stack *Stack) Push(value ...interface{})
- func (stack *Stack) Set(idx int, value interface{}) (err error)
- func (stack *Stack) Size() int
- func (stack *Stack) Swap(other *Stack)
- func (stack *Stack) Top() (value interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.