Documentation
¶
Index ¶
- type LinkQueue
- func (t *LinkQueue) ForeachFromFront(f func(elem *list.Element) bool)
- func (t *LinkQueue) PopValue() (interface{}, bool)
- func (t *LinkQueue) PutValue(value interface{})
- func (t *LinkQueue) SafetyCheckAndRemoveValues(f func(elem *list.Element) bool) []interface{}
- func (t *LinkQueue) SafetyForeachFromFront(f func(elem *list.Element) bool)
- func (t *LinkQueue) SafetyGetLen() int
- func (t *LinkQueue) SafetyPopValue() (interface{}, bool)
- func (t *LinkQueue) SafetyPopValues(count int) []interface{}
- func (t *LinkQueue) SafetyPutValue(value interface{})
- func (t *LinkQueue) SafetyPutValues(values ...interface{})
- func (t *LinkQueue) SafetyPutValuesToHead(values ...interface{})
- func (t *LinkQueue) SafetyRemoveValues(values []*list.Element)
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
func (*LinkQueue) ForeachFromFront ¶
func (*LinkQueue) SafetyCheckAndRemoveValues ¶
func (*LinkQueue) SafetyForeachFromFront ¶
func (*LinkQueue) SafetyGetLen ¶
func (*LinkQueue) SafetyPopValue ¶
func (*LinkQueue) SafetyPopValues ¶
func (*LinkQueue) SafetyPutValue ¶
func (t *LinkQueue) SafetyPutValue(value interface{})
func (*LinkQueue) SafetyPutValues ¶
func (t *LinkQueue) SafetyPutValues(values ...interface{})
func (*LinkQueue) SafetyPutValuesToHead ¶
func (t *LinkQueue) SafetyPutValuesToHead(values ...interface{})
func (*LinkQueue) SafetyRemoveValues ¶
Click to show internal directories.
Click to hide internal directories.