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