Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LinkQueue ¶
type LinkQueue struct {
// contains filtered or unexported fields
}
func NewLinkQueue ¶
func NewLinkQueue() *LinkQueue
type StaticQueue ¶
type StaticQueue struct {
// contains filtered or unexported fields
}
func NewStaticQueue ¶
func NewStaticQueue(size int) *StaticQueue
func (*StaticQueue) Capacity ¶
func (q *StaticQueue) Capacity() int
func (*StaticQueue) Clear ¶
func (q *StaticQueue) Clear()
func (*StaticQueue) Length ¶
func (q *StaticQueue) Length() int
func (*StaticQueue) Pop ¶
func (q *StaticQueue) Pop() (interface{}, bool)
func (*StaticQueue) Push ¶
func (q *StaticQueue) Push(v interface{}) bool
Click to show internal directories.
Click to hide internal directories.