Documentation ¶
Index ¶
- type Deque
- func (d *Deque[T]) Back() (T, error)
- func (d *Deque[T]) Empty() bool
- func (d *Deque[T]) Front() (T, error)
- func (d *Deque[T]) Pop() (T, error)
- func (d *Deque[T]) PopBack() (T, error)
- func (d *Deque[T]) PopFront() (T, error)
- func (d *Deque[T]) Print()
- func (d *Deque[T]) Push(elem T)
- func (d *Deque[T]) PushBack(elem T)
- func (d *Deque[T]) PushFront(elem T)
- func (d *Deque[T]) PushSlice(xs []T)
- func (d *Deque[T]) PushSliceBack(xs []T)
- func (d *Deque[T]) PushSliceFront(xs []T)
- func (d *Deque[T]) String() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Deque ¶
type Deque[T any] struct { // contains filtered or unexported fields }
func (*Deque[T]) PushSliceBack ¶
func (d *Deque[T]) PushSliceBack(xs []T)
func (*Deque[T]) PushSliceFront ¶
func (d *Deque[T]) PushSliceFront(xs []T)
Click to show internal directories.
Click to hide internal directories.