queue

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 8, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BoolQueue

type BoolQueue struct {
	// contains filtered or unexported fields
}

func NewBoolQueue

func NewBoolQueue() *BoolQueue

noinspection GoUnusedExportedFunction

func (*BoolQueue) Count

func (q *BoolQueue) Count() int

func (*BoolQueue) Dequeue

func (q *BoolQueue) Dequeue() (v bool, ok bool)

func (*BoolQueue) Enqueue

func (q *BoolQueue) Enqueue(v bool) (ok bool)

type ByteQueue

type ByteQueue struct {
	// contains filtered or unexported fields
}

func NewByteQueue

func NewByteQueue() *ByteQueue

noinspection GoUnusedExportedFunction

func (*ByteQueue) Count

func (q *ByteQueue) Count() int

func (*ByteQueue) Dequeue

func (q *ByteQueue) Dequeue() (v byte, ok bool)

func (*ByteQueue) Enqueue

func (q *ByteQueue) Enqueue(v byte) (ok bool)

type Complex128Queue

type Complex128Queue struct {
	// contains filtered or unexported fields
}

func NewComplex128Queue

func NewComplex128Queue() *Complex128Queue

noinspection GoUnusedExportedFunction

func (*Complex128Queue) Count

func (q *Complex128Queue) Count() int

func (*Complex128Queue) Dequeue

func (q *Complex128Queue) Dequeue() (v complex128, ok bool)

func (*Complex128Queue) Enqueue

func (q *Complex128Queue) Enqueue(v complex128) (ok bool)

type Complex64Queue

type Complex64Queue struct {
	// contains filtered or unexported fields
}

func NewComplex64Queue

func NewComplex64Queue() *Complex64Queue

noinspection GoUnusedExportedFunction

func (*Complex64Queue) Count

func (q *Complex64Queue) Count() int

func (*Complex64Queue) Dequeue

func (q *Complex64Queue) Dequeue() (v complex64, ok bool)

func (*Complex64Queue) Enqueue

func (q *Complex64Queue) Enqueue(v complex64) (ok bool)

type ErrorQueue

type ErrorQueue struct {
	// contains filtered or unexported fields
}

func NewErrorQueue

func NewErrorQueue() *ErrorQueue

noinspection GoUnusedExportedFunction

func (*ErrorQueue) Count

func (q *ErrorQueue) Count() int

func (*ErrorQueue) Dequeue

func (q *ErrorQueue) Dequeue() (v error, ok bool)

func (*ErrorQueue) Enqueue

func (q *ErrorQueue) Enqueue(v error) (ok bool)

type Float32Queue

type Float32Queue struct {
	// contains filtered or unexported fields
}

func NewFloat32Queue

func NewFloat32Queue() *Float32Queue

noinspection GoUnusedExportedFunction

func (*Float32Queue) Count

func (q *Float32Queue) Count() int

func (*Float32Queue) Dequeue

func (q *Float32Queue) Dequeue() (v float32, ok bool)

func (*Float32Queue) Enqueue

func (q *Float32Queue) Enqueue(v float32) (ok bool)

type Float64Queue

type Float64Queue struct {
	// contains filtered or unexported fields
}

func NewFloat64Queue

func NewFloat64Queue() *Float64Queue

noinspection GoUnusedExportedFunction

func (*Float64Queue) Count

func (q *Float64Queue) Count() int

func (*Float64Queue) Dequeue

func (q *Float64Queue) Dequeue() (v float64, ok bool)

func (*Float64Queue) Enqueue

func (q *Float64Queue) Enqueue(v float64) (ok bool)

type Int16Queue

type Int16Queue struct {
	// contains filtered or unexported fields
}

func NewInt16Queue

func NewInt16Queue() *Int16Queue

noinspection GoUnusedExportedFunction

func (*Int16Queue) Count

func (q *Int16Queue) Count() int

func (*Int16Queue) Dequeue

func (q *Int16Queue) Dequeue() (v int16, ok bool)

func (*Int16Queue) Enqueue

func (q *Int16Queue) Enqueue(v int16) (ok bool)

type Int32Queue

type Int32Queue struct {
	// contains filtered or unexported fields
}

func NewInt32Queue

func NewInt32Queue() *Int32Queue

noinspection GoUnusedExportedFunction

func (*Int32Queue) Count

func (q *Int32Queue) Count() int

func (*Int32Queue) Dequeue

func (q *Int32Queue) Dequeue() (v int32, ok bool)

func (*Int32Queue) Enqueue

func (q *Int32Queue) Enqueue(v int32) (ok bool)

type Int64Queue

type Int64Queue struct {
	// contains filtered or unexported fields
}

func NewInt64Queue

func NewInt64Queue() *Int64Queue

noinspection GoUnusedExportedFunction

func (*Int64Queue) Count

func (q *Int64Queue) Count() int

func (*Int64Queue) Dequeue

func (q *Int64Queue) Dequeue() (v int64, ok bool)

func (*Int64Queue) Enqueue

func (q *Int64Queue) Enqueue(v int64) (ok bool)

type Int8Queue

type Int8Queue struct {
	// contains filtered or unexported fields
}

func NewInt8Queue

func NewInt8Queue() *Int8Queue

noinspection GoUnusedExportedFunction

func (*Int8Queue) Count

func (q *Int8Queue) Count() int

func (*Int8Queue) Dequeue

func (q *Int8Queue) Dequeue() (v int8, ok bool)

func (*Int8Queue) Enqueue

func (q *Int8Queue) Enqueue(v int8) (ok bool)

type IntQueue

type IntQueue struct {
	// contains filtered or unexported fields
}

func NewIntQueue

func NewIntQueue() *IntQueue

noinspection GoUnusedExportedFunction

func (*IntQueue) Count

func (q *IntQueue) Count() int

func (*IntQueue) Dequeue

func (q *IntQueue) Dequeue() (v int, ok bool)

func (*IntQueue) Enqueue

func (q *IntQueue) Enqueue(v int) (ok bool)

type RuneQueue

type RuneQueue struct {
	// contains filtered or unexported fields
}

func NewRuneQueue

func NewRuneQueue() *RuneQueue

noinspection GoUnusedExportedFunction

func (*RuneQueue) Count

func (q *RuneQueue) Count() int

func (*RuneQueue) Dequeue

func (q *RuneQueue) Dequeue() (v rune, ok bool)

func (*RuneQueue) Enqueue

func (q *RuneQueue) Enqueue(v rune) (ok bool)

type StringQueue

type StringQueue struct {
	// contains filtered or unexported fields
}

func NewStringQueue

func NewStringQueue() *StringQueue

noinspection GoUnusedExportedFunction

func (*StringQueue) Count

func (q *StringQueue) Count() int

func (*StringQueue) Dequeue

func (q *StringQueue) Dequeue() (v string, ok bool)

func (*StringQueue) Enqueue

func (q *StringQueue) Enqueue(v string) (ok bool)

type T

type T generic.Type

type TQueue

type TQueue struct {
	// contains filtered or unexported fields
}

func NewTQueue

func NewTQueue() *TQueue

noinspection GoUnusedExportedFunction

func (*TQueue) Count

func (q *TQueue) Count() int

func (*TQueue) Dequeue

func (q *TQueue) Dequeue() (v T, ok bool)

func (*TQueue) Enqueue

func (q *TQueue) Enqueue(v T) (ok bool)

type Uint16Queue

type Uint16Queue struct {
	// contains filtered or unexported fields
}

func NewUint16Queue

func NewUint16Queue() *Uint16Queue

noinspection GoUnusedExportedFunction

func (*Uint16Queue) Count

func (q *Uint16Queue) Count() int

func (*Uint16Queue) Dequeue

func (q *Uint16Queue) Dequeue() (v uint16, ok bool)

func (*Uint16Queue) Enqueue

func (q *Uint16Queue) Enqueue(v uint16) (ok bool)

type Uint32Queue

type Uint32Queue struct {
	// contains filtered or unexported fields
}

func NewUint32Queue

func NewUint32Queue() *Uint32Queue

noinspection GoUnusedExportedFunction

func (*Uint32Queue) Count

func (q *Uint32Queue) Count() int

func (*Uint32Queue) Dequeue

func (q *Uint32Queue) Dequeue() (v uint32, ok bool)

func (*Uint32Queue) Enqueue

func (q *Uint32Queue) Enqueue(v uint32) (ok bool)

type Uint64Queue

type Uint64Queue struct {
	// contains filtered or unexported fields
}

func NewUint64Queue

func NewUint64Queue() *Uint64Queue

noinspection GoUnusedExportedFunction

func (*Uint64Queue) Count

func (q *Uint64Queue) Count() int

func (*Uint64Queue) Dequeue

func (q *Uint64Queue) Dequeue() (v uint64, ok bool)

func (*Uint64Queue) Enqueue

func (q *Uint64Queue) Enqueue(v uint64) (ok bool)

type Uint8Queue

type Uint8Queue struct {
	// contains filtered or unexported fields
}

func NewUint8Queue

func NewUint8Queue() *Uint8Queue

noinspection GoUnusedExportedFunction

func (*Uint8Queue) Count

func (q *Uint8Queue) Count() int

func (*Uint8Queue) Dequeue

func (q *Uint8Queue) Dequeue() (v uint8, ok bool)

func (*Uint8Queue) Enqueue

func (q *Uint8Queue) Enqueue(v uint8) (ok bool)

type UintQueue

type UintQueue struct {
	// contains filtered or unexported fields
}

func NewUintQueue

func NewUintQueue() *UintQueue

noinspection GoUnusedExportedFunction

func (*UintQueue) Count

func (q *UintQueue) Count() int

func (*UintQueue) Dequeue

func (q *UintQueue) Dequeue() (v uint, ok bool)

func (*UintQueue) Enqueue

func (q *UintQueue) Enqueue(v uint) (ok bool)

type UintptrQueue

type UintptrQueue struct {
	// contains filtered or unexported fields
}

func NewUintptrQueue

func NewUintptrQueue() *UintptrQueue

noinspection GoUnusedExportedFunction

func (*UintptrQueue) Count

func (q *UintptrQueue) Count() int

func (*UintptrQueue) Dequeue

func (q *UintptrQueue) Dequeue() (v uintptr, ok bool)

func (*UintptrQueue) Enqueue

func (q *UintptrQueue) Enqueue(v uintptr) (ok bool)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL