Documentation ¶
Overview ¶
Package util通用的函数和公共类 主要是通用的流处理器
Index ¶
- func IsContainInt(items []int, item int) bool
- type Queue
- func (queue *Queue) Back() interface{}
- func (queue *Queue) Clear()
- func (queue *Queue) Empty() bool
- func (queue *Queue) Front() interface{}
- func (queue *Queue) FrontRaw() *list.Element
- func (queue *Queue) Pop() interface{}
- func (queue *Queue) PushBack(value interface{})
- func (queue *Queue) PushFront(value interface{})
- func (queue *Queue) Size() int
- type Stream
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Queue ¶
type Queue struct {
// contains filtered or unexported fields
}
Queue 队列
func (*Queue) Front ¶
func (queue *Queue) Front() interface{}
Front returns first element of the queue
func (*Queue) Pop ¶
func (queue *Queue) Pop() interface{}
Pop returns and deletes first element of the queue
func (*Queue) PushBack ¶
func (queue *Queue) PushBack(value interface{})
PushBack adds element to the back of the queue
Click to show internal directories.
Click to hide internal directories.