Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArrayStack ¶
type ArrayStack[T any] struct { // contains filtered or unexported fields }
func (*ArrayStack[T]) All ¶
func (s *ArrayStack[T]) All() []T
func (*ArrayStack[T]) Clear ¶
func (s *ArrayStack[T]) Clear()
func (*ArrayStack[T]) Len ¶
func (s *ArrayStack[T]) Len() int
func (*ArrayStack[T]) Peek ¶
func (s *ArrayStack[T]) Peek() (v T)
func (*ArrayStack[T]) Pop ¶
func (s *ArrayStack[T]) Pop() (v T)
func (*ArrayStack[T]) Push ¶
func (s *ArrayStack[T]) Push(v T)
Click to show internal directories.
Click to hide internal directories.