Documentation ¶ Index ¶ type Queue func Empty[A any]() *Queue[A] func FromIterator[A any](initialElements iterable.Iterable[A]) *Queue[A] func FromSlice[A any](initialElements []A) *Queue[A] func (s *Queue[A]) Iterator() iterable.Iterator[A] func (s *Queue[A]) PeekFront() *A func (s *Queue[A]) PopFront() *A func (s *Queue[A]) PushBack(a A) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Queue ¶ type Queue[A any] struct { Items []A } func Empty ¶ func Empty[A any]() *Queue[A] func FromIterator ¶ func FromIterator[A any](initialElements iterable.Iterable[A]) *Queue[A] func FromSlice ¶ func FromSlice[A any](initialElements []A) *Queue[A] func (*Queue[A]) Iterator ¶ func (s *Queue[A]) Iterator() iterable.Iterator[A] func (*Queue[A]) PeekFront ¶ func (s *Queue[A]) PeekFront() *A func (*Queue[A]) PopFront ¶ func (s *Queue[A]) PopFront() *A func (*Queue[A]) PushBack ¶ func (s *Queue[A]) PushBack(a A) Source Files ¶ View all Source files queue.go Click to show internal directories. Click to hide internal directories.