Documentation ¶
Index ¶
- type Item
- type List
- func (this *List[T]) End() *Item[T]
- func (this *List[T]) Head() *Item[T]
- func (this *List[T]) Len() int
- func (this *List[T]) Push(item *Item[T])
- func (this *List[T]) Range(f func(item *Item[T]) (goNext bool))
- func (this *List[T]) RangeReverse(f func(item *Item[T]) (goNext bool))
- func (this *List[T]) Remove(item *Item[T])
- func (this *List[T]) Reset()
- func (this *List[T]) Shift() *Item[T]
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type List ¶
type List[T any] struct { // contains filtered or unexported fields }
func (*List[T]) RangeReverse ¶ added in v1.3.2
Click to show internal directories.
Click to hide internal directories.