Documentation
¶
Index ¶
- type Stack
- func (stack *Stack[T]) IsEmpty() bool
- func (stack *Stack[T]) Len() int
- func (stack *Stack[T]) Peek() T
- func (stack *Stack[T]) Pop() T
- func (stack *Stack[T]) PopLeft() T
- func (stack *Stack[T]) Push(value T)
- func (stack *Stack[T]) PushLeft(value T)
- func (stack *Stack[T]) Reverse() *Stack[T]
- func (stack *Stack[T]) Set(values []T)
- func (stack *Stack[T]) ToSlice() []T
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.