Documentation
¶
Index ¶
- type Deque
- func (this *Deque) Append(newVal interface{}) bool
- func (this *Deque) Capacity() int
- func (this *Deque) Front() (interface{}, error)
- func (this *Deque) IsEmpty() bool
- func (this *Deque) IsFull() bool
- func (this *Deque) Pop() (interface{}, error)
- func (this *Deque) Prepend(newVal interface{}) bool
- func (this *Deque) Rear() (interface{}, error)
- func (this *Deque) Shift() (interface{}, error)
- func (this *Deque) Size() int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Deque ¶
type Deque struct {
// contains filtered or unexported fields
}
func NewDequeWithCapacity ¶
Click to show internal directories.
Click to hide internal directories.