Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlockingQueue ¶
type BlockingQueue struct {
// contains filtered or unexported fields
}
阻塞队列
func New ¶
func New(cap int) *BlockingQueue
func (*BlockingQueue) Back ¶
func (p *BlockingQueue) Back() interface{}
func (*BlockingQueue) Empty ¶
func (p *BlockingQueue) Empty() bool
func (*BlockingQueue) Front ¶
func (p *BlockingQueue) Front() interface{}
func (*BlockingQueue) PopFront ¶
func (p *BlockingQueue) PopFront() interface{}
func (*BlockingQueue) PushBack ¶
func (p *BlockingQueue) PushBack(e interface{})
func (*BlockingQueue) Size ¶
func (p *BlockingQueue) Size() int
Click to show internal directories.
Click to hide internal directories.