Documentation ¶
Index ¶
- type List
- func (l *List[T]) Add(item T)
- func (l *List[T]) Clear()
- func (l *List[T]) Del(i int, j int)
- func (l *List[T]) Get(i int) T
- func (l *List[T]) Insert(i int, item T)
- func (l *List[T]) IsEmpty() bool
- func (l *List[T]) Items() []T
- func (l *List[T]) Len() int
- func (l *List[T]) Loop(fn func(i int, item T) bool)
- func (l *List[T]) Shift() T
- func (l *List[T]) Unshift(item T)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type List ¶
func NewEmptyList ¶
Click to show internal directories.
Click to hide internal directories.