package
Version:
v0.0.0-...-bb18aec
Opens a new window with list of versions in this module.
Published: Dec 17, 2021
License: Apache-2.0
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Deque[T any] struct {
}
func (d *Deque[T]) AddFirst(elem T)
AddFirst 从队头入队
func (d *Deque[T]) AddLast(elem T)
AddLast 从队尾入队
func (d *Deque[T]) RemoveFirst() T
RemoveFirst 从队头出队
func (d *Deque[T]) RemoveLast() T
RemoveLast 从队尾出队
Source Files
¶
Click to show internal directories.
Click to hide internal directories.