Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SimpleStack ¶
type SimpleStack struct {
// contains filtered or unexported fields
}
func New ¶
func New(size int) *SimpleStack
func (*SimpleStack) Peek ¶
func (s *SimpleStack) Peek() (int, error)
func (*SimpleStack) Pop ¶
func (s *SimpleStack) Pop() (int, error)
func (*SimpleStack) Push ¶
func (s *SimpleStack) Push(value int) error
Click to show internal directories.
Click to hide internal directories.