Documentation ¶
Index ¶
- type MyCircularDeque
- func (this *MyCircularDeque) DeleteFront() bool
- func (this *MyCircularDeque) DeleteLast() bool
- func (this *MyCircularDeque) GetFront() int
- func (this *MyCircularDeque) GetRear() int
- func (this *MyCircularDeque) InsertFront(value int) bool
- func (this *MyCircularDeque) InsertLast(value int) bool
- func (this *MyCircularDeque) IsEmpty() bool
- func (this *MyCircularDeque) IsFull() bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MyCircularDeque ¶
type MyCircularDeque struct { }
func Constructor ¶
func Constructor(k int) MyCircularDeque
func (*MyCircularDeque) DeleteFront ¶
func (this *MyCircularDeque) DeleteFront() bool
func (*MyCircularDeque) DeleteLast ¶
func (this *MyCircularDeque) DeleteLast() bool
func (*MyCircularDeque) GetFront ¶
func (this *MyCircularDeque) GetFront() int
func (*MyCircularDeque) GetRear ¶
func (this *MyCircularDeque) GetRear() int
func (*MyCircularDeque) InsertFront ¶
func (this *MyCircularDeque) InsertFront(value int) bool
func (*MyCircularDeque) InsertLast ¶
func (this *MyCircularDeque) InsertLast(value int) bool
func (*MyCircularDeque) IsEmpty ¶
func (this *MyCircularDeque) IsEmpty() bool
func (*MyCircularDeque) IsFull ¶
func (this *MyCircularDeque) IsFull() bool
Click to show internal directories.
Click to hide internal directories.