Documentation
¶
Index ¶
- type Deque
- func (d *Deque) DeleteFront() (o interface{}, err error)
- func (d *Deque) DeleteRear() (o interface{}, err error)
- func (d *Deque) GetFront() (o interface{}, err error)
- func (d *Deque) GetRear() (o interface{}, err error)
- func (d *Deque) InsertFront(o interface{})
- func (d *Deque) InsertRear(o interface{})
- func (d *Deque) IsEmpty() bool
- func (d *Deque) Size() int
- type IDeque
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 (*Deque) DeleteFront ¶
func (*Deque) DeleteRear ¶
func (*Deque) InsertFront ¶
func (d *Deque) InsertFront(o interface{})
func (*Deque) InsertRear ¶
func (d *Deque) InsertRear(o interface{})
type IDeque ¶
type IDeque interface { InsertFront(o interface{}) InsertRear(o interface{}) DeleteFront() (o interface{}, err error) DeleteRear() (o interface{}, err error) GetFront() (o interface{}, err error) GetRear() (o interface{}, err error) Size() int IsEmpty() bool }
IDeque defines the deque interface
Click to show internal directories.
Click to hide internal directories.