Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cache ¶
type Cache[K comparable, T any] interface { Put(key K, value T) Get(key K) (T, error) }
type List ¶
type List[T any] interface { Length() int Append(values ...T) Prepend(values ...T) Insert(value T, after int) error All() iter.Seq2[int, T] Backward() iter.Seq2[int, T] Search(target T, equal func(value, target T) bool) (int, error) Index(at int) (T, error) Pop() (T, error) Dequeue() (T, error) Remove(at int) (T, error) }
type Node ¶
Click to show internal directories.
Click to hide internal directories.