SYMBOL INDEX (1495 symbols across 133 files) FILE: containers/containers.go type Container (line 24) | type Container interface function GetSortedValues (line 34) | func GetSortedValues[T cmp.Ordered](container Container[T]) []T { function GetSortedValuesFunc (line 44) | func GetSortedValuesFunc[T any](container Container[T], comparator utils... FILE: containers/containers_test.go type ContainerTest (line 17) | type ContainerTest struct method Empty (line 21) | func (container ContainerTest[T]) Empty() bool { method Size (line 25) | func (container ContainerTest[T]) Size() int { method Clear (line 29) | func (container ContainerTest[T]) Clear() { method Values (line 33) | func (container ContainerTest[T]) Values() []T { method String (line 37) | func (container ContainerTest[T]) String() string { function TestGetSortedValuesInts (line 47) | func TestGetSortedValuesInts(t *testing.T) { type NotInt (line 59) | type NotInt struct function TestGetSortedValuesNotInts (line 63) | func TestGetSortedValuesNotInts(t *testing.T) { FILE: containers/enumerable.go type EnumerableWithIndex (line 8) | type EnumerableWithIndex interface type EnumerableWithKey (line 34) | type EnumerableWithKey interface FILE: containers/iterator.go type IteratorWithIndex (line 8) | type IteratorWithIndex interface type IteratorWithKey (line 40) | type IteratorWithKey interface type ReverseIteratorWithIndex (line 80) | type ReverseIteratorWithIndex interface type ReverseIteratorWithKey (line 111) | type ReverseIteratorWithKey interface FILE: containers/serialization.go type JSONSerializer (line 8) | type JSONSerializer interface type JSONDeserializer (line 16) | type JSONDeserializer interface FILE: examples/arraylist/arraylist.go function main (line 14) | func main() { FILE: examples/arrayqueue/arrayqqueue.go function main (line 10) | func main() { FILE: examples/arraystack/arraystack.go function main (line 10) | func main() { FILE: examples/avltree/avltree.go function main (line 14) | func main() { FILE: examples/binaryheap/binaryheap.go function main (line 14) | func main() { FILE: examples/btree/btree.go function main (line 14) | func main() { FILE: examples/circularbuffer/circularbuffer.go function main (line 10) | func main() { FILE: examples/customcomparator/customcomparator.go type User (line 14) | type User struct function byID (line 20) | func byID(a, b User) int { function main (line 33) | func main() { FILE: examples/doublylinkedlist/doublylinkedlist.go function main (line 14) | func main() { FILE: examples/enumerablewithindex/enumerablewithindex.go function printSet (line 13) | func printSet(txt string, set *treeset.Set[int]) { function main (line 22) | func main() { FILE: examples/enumerablewithkey/enumerablewithkey.go function printMap (line 13) | func printMap(txt string, m *treemap.Map[string, int]) { function main (line 22) | func main() { FILE: examples/hashbidimap/hashbidimap.go function main (line 10) | func main() { FILE: examples/hashmap/hashmap.go function main (line 10) | func main() { FILE: examples/hashset/hashset.go function main (line 10) | func main() { FILE: examples/iteratorwithindex/iteratorwithindex.go function main (line 15) | func main() { FILE: examples/iteratorwithkey/iteratorwithkey.go function main (line 15) | func main() { FILE: examples/linkedhashmap/linkedhashmap.go function main (line 10) | func main() { FILE: examples/linkedhashset/linkedhashset.go function main (line 10) | func main() { FILE: examples/linkedlistqueue/linkedlistqueue.go function main (line 10) | func main() { FILE: examples/linkedliststack/linkedliststack.go function main (line 10) | func main() { FILE: examples/priorityqueue/priorityqueue.go type Element (line 14) | type Element struct function byPriority (line 20) | func byPriority(a, b Element) int { function main (line 25) | func main() { FILE: examples/redblacktree/redblacktree.go function main (line 14) | func main() { FILE: examples/redblacktreeextended/redblacktreeextended.go type RedBlackTreeExtended (line 14) | type RedBlackTreeExtended struct method GetMin (line 19) | func (tree *RedBlackTreeExtended[K, V]) GetMin() (value V, found bool) { method GetMax (line 28) | func (tree *RedBlackTreeExtended[K, V]) GetMax() (value V, found bool) { method RemoveMin (line 37) | func (tree *RedBlackTreeExtended[K, V]) RemoveMin() (value V, deleted bo... method RemoveMax (line 47) | func (tree *RedBlackTreeExtended[K, V]) RemoveMax() (value V, deleted bo... method getMinFromNode (line 56) | func (tree *RedBlackTreeExtended[K, V]) getMinFromNode(node *rbt.Node[K,... method getMaxFromNode (line 66) | func (tree *RedBlackTreeExtended[K, V]) getMaxFromNode(node *rbt.Node[K,... function print (line 76) | func print(tree *RedBlackTreeExtended[int, string]) { function main (line 85) | func main() { FILE: examples/serialization/serialization.go function ListSerializationExample (line 11) | func ListSerializationExample() { function MapSerializationExample (line 32) | func MapSerializationExample() { FILE: examples/singlylinkedlist/singlylinkedlist.go function main (line 14) | func main() { FILE: examples/treebidimap/treebidimap.go function main (line 12) | func main() { FILE: examples/treemap/treemap.go function main (line 10) | func main() { FILE: examples/treeset/treeset.go function main (line 10) | func main() { FILE: lists/arraylist/arraylist.go type List (line 25) | type List struct constant growthFactor (line 30) | growthFactor = float32(2.0) constant shrinkFactor (line 31) | shrinkFactor = float32(0.25) function New (line 35) | func New[T comparable](values ...T) *List[T] { method Add (line 44) | func (list *List[T]) Add(values ...T) { method Get (line 54) | func (list *List[T]) Get(index int) (T, bool) { method Remove (line 65) | func (list *List[T]) Remove(index int) { method Contains (line 79) | func (list *List[T]) Contains(values ...T) bool { method Values (line 89) | func (list *List[T]) Values() []T { method IndexOf (line 94) | func (list *List[T]) IndexOf(value T) int { method Empty (line 99) | func (list *List[T]) Empty() bool { method Size (line 104) | func (list *List[T]) Size() int { method Clear (line 109) | func (list *List[T]) Clear() { method Sort (line 115) | func (list *List[T]) Sort(comparator utils.Comparator[T]) { method Swap (line 123) | func (list *List[T]) Swap(i, j int) { method Insert (line 132) | func (list *List[T]) Insert(index int, values ...T) { method Set (line 149) | func (list *List[T]) Set(index int, value T) { method String (line 163) | func (list *List[T]) String() string { method withinRange (line 174) | func (list *List[T]) withinRange(index int) bool { method resize (line 178) | func (list *List[T]) resize(len, cap int) { method growBy (line 185) | func (list *List[T]) growBy(n int) { method shrink (line 198) | func (list *List[T]) shrink() { FILE: lists/arraylist/arraylist_test.go function TestListNew (line 15) | func TestListNew(t *testing.T) { function TestListAdd (line 41) | func TestListAdd(t *testing.T) { function TestListIndexOf (line 56) | func TestListIndexOf(t *testing.T) { function TestListRemove (line 83) | func TestListRemove(t *testing.T) { function TestListGet (line 102) | func TestListGet(t *testing.T) { function TestListSwap (line 124) | func TestListSwap(t *testing.T) { function TestListSort (line 134) | func TestListSort(t *testing.T) { function TestListClear (line 148) | func TestListClear(t *testing.T) { function TestListContains (line 160) | func TestListContains(t *testing.T) { function TestListValues (line 185) | func TestListValues(t *testing.T) { function TestListInsert (line 194) | func TestListInsert(t *testing.T) { function TestListSet (line 211) | func TestListSet(t *testing.T) { function TestListEach (line 232) | func TestListEach(t *testing.T) { function TestListMap (line 255) | func TestListMap(t *testing.T) { function TestListSelect (line 275) | func TestListSelect(t *testing.T) { function TestListAny (line 292) | func TestListAny(t *testing.T) { function TestListAll (line 308) | func TestListAll(t *testing.T) { function TestListFind (line 324) | func TestListFind(t *testing.T) { function TestListChaining (line 340) | func TestListChaining(t *testing.T) { function TestListIteratorNextOnEmpty (line 359) | func TestListIteratorNextOnEmpty(t *testing.T) { function TestListIteratorNext (line 367) | func TestListIteratorNext(t *testing.T) { function TestListIteratorPrevOnEmpty (line 398) | func TestListIteratorPrevOnEmpty(t *testing.T) { function TestListIteratorPrev (line 406) | func TestListIteratorPrev(t *testing.T) { function TestListIteratorBegin (line 439) | func TestListIteratorBegin(t *testing.T) { function TestListIteratorEnd (line 453) | func TestListIteratorEnd(t *testing.T) { function TestListIteratorFirst (line 478) | func TestListIteratorFirst(t *testing.T) { function TestListIteratorLast (line 493) | func TestListIteratorLast(t *testing.T) { function TestListIteratorNextTo (line 508) | func TestListIteratorNextTo(t *testing.T) { function TestListIteratorPrevTo (line 557) | func TestListIteratorPrevTo(t *testing.T) { function TestListSerialization (line 608) | func TestListSerialization(t *testing.T) { function TestListString (line 645) | func TestListString(t *testing.T) { function benchmarkGet (line 653) | func benchmarkGet(b *testing.B, list *List[int], size int) { function benchmarkAdd (line 661) | func benchmarkAdd(b *testing.B, list *List[int], size int) { function benchmarkRemove (line 669) | func benchmarkRemove(b *testing.B, list *List[int], size int) { function BenchmarkArrayListGet100 (line 677) | func BenchmarkArrayListGet100(b *testing.B) { function BenchmarkArrayListGet1000 (line 688) | func BenchmarkArrayListGet1000(b *testing.B) { function BenchmarkArrayListGet10000 (line 699) | func BenchmarkArrayListGet10000(b *testing.B) { function BenchmarkArrayListGet100000 (line 710) | func BenchmarkArrayListGet100000(b *testing.B) { function BenchmarkArrayListAdd100 (line 721) | func BenchmarkArrayListAdd100(b *testing.B) { function BenchmarkArrayListAdd1000 (line 729) | func BenchmarkArrayListAdd1000(b *testing.B) { function BenchmarkArrayListAdd10000 (line 740) | func BenchmarkArrayListAdd10000(b *testing.B) { function BenchmarkArrayListAdd100000 (line 751) | func BenchmarkArrayListAdd100000(b *testing.B) { function BenchmarkArrayListRemove100 (line 762) | func BenchmarkArrayListRemove100(b *testing.B) { function BenchmarkArrayListRemove1000 (line 773) | func BenchmarkArrayListRemove1000(b *testing.B) { function BenchmarkArrayListRemove10000 (line 784) | func BenchmarkArrayListRemove10000(b *testing.B) { function BenchmarkArrayListRemove100000 (line 795) | func BenchmarkArrayListRemove100000(b *testing.B) { FILE: lists/arraylist/enumerable.go method Each (line 13) | func (list *List[T]) Each(f func(index int, value T)) { method Map (line 22) | func (list *List[T]) Map(f func(index int, value T) T) *List[T] { method Select (line 32) | func (list *List[T]) Select(f func(index int, value T) bool) *List[T] { method Any (line 45) | func (list *List[T]) Any(f func(index int, value T) bool) bool { method All (line 57) | func (list *List[T]) All(f func(index int, value T) bool) bool { method Find (line 70) | func (list *List[T]) Find(f func(index int, value T) bool) (int, T) { FILE: lists/arraylist/iterator.go type Iterator (line 13) | type Iterator struct method Iterator (line 19) | func (list *List[T]) Iterator() *Iterator[T] { method Next (line 27) | func (iterator *Iterator[T]) Next() bool { method Prev (line 37) | func (iterator *Iterator[T]) Prev() bool { method Value (line 46) | func (iterator *Iterator[T]) Value() T { method Index (line 52) | func (iterator *Iterator[T]) Index() int { method Begin (line 58) | func (iterator *Iterator[T]) Begin() { method End (line 64) | func (iterator *Iterator[T]) End() { method First (line 71) | func (iterator *Iterator[T]) First() bool { method Last (line 79) | func (iterator *Iterator[T]) Last() bool { method NextTo (line 88) | func (iterator *Iterator[T]) NextTo(f func(index int, value T) bool) bool { method PrevTo (line 102) | func (iterator *Iterator[T]) PrevTo(f func(index int, value T) bool) bool { FILE: lists/arraylist/serialization.go method ToJSON (line 18) | func (list *List[T]) ToJSON() ([]byte, error) { method FromJSON (line 23) | func (list *List[T]) FromJSON(data []byte) error { method UnmarshalJSON (line 29) | func (list *List[T]) UnmarshalJSON(bytes []byte) error { method MarshalJSON (line 34) | func (list *List[T]) MarshalJSON() ([]byte, error) { FILE: lists/doublylinkedlist/doublylinkedlist.go type List (line 25) | type List struct type element (line 31) | type element struct function New (line 38) | func New[T comparable](values ...T) *List[T] { method Add (line 47) | func (list *List[T]) Add(values ...T) { method Append (line 62) | func (list *List[T]) Append(values ...T) { method Prepend (line 67) | func (list *List[T]) Prepend(values ...T) { method Get (line 84) | func (list *List[T]) Get(index int) (T, bool) { method Remove (line 105) | func (list *List[T]) Remove(index int) { method Contains (line 150) | func (list *List[T]) Contains(values ...T) bool { method Values (line 174) | func (list *List[T]) Values() []T { method IndexOf (line 183) | func (list *List[T]) IndexOf(value T) int { method Empty (line 196) | func (list *List[T]) Empty() bool { method Size (line 201) | func (list *List[T]) Size() int { method Clear (line 206) | func (list *List[T]) Clear() { method Sort (line 213) | func (list *List[T]) Sort(comparator utils.Comparator[T]) { method Swap (line 229) | func (list *List[T]) Swap(i, j int) { method Insert (line 247) | func (list *List[T]) Insert(index int, values ...T) { method Set (line 305) | func (list *List[T]) Set(index int, value T) { method String (line 334) | func (list *List[T]) String() string { method withinRange (line 345) | func (list *List[T]) withinRange(index int) bool { FILE: lists/doublylinkedlist/doublylinkedlist_test.go function TestListNew (line 15) | func TestListNew(t *testing.T) { function TestListAdd (line 41) | func TestListAdd(t *testing.T) { function TestListAppendAndPrepend (line 56) | func TestListAppendAndPrepend(t *testing.T) { function TestListRemove (line 78) | func TestListRemove(t *testing.T) { function TestListGet (line 97) | func TestListGet(t *testing.T) { function TestListSwap (line 119) | func TestListSwap(t *testing.T) { function TestListSort (line 129) | func TestListSort(t *testing.T) { function TestListClear (line 143) | func TestListClear(t *testing.T) { function TestListContains (line 155) | func TestListContains(t *testing.T) { function TestListValues (line 180) | func TestListValues(t *testing.T) { function TestListInsert (line 189) | func TestListInsert(t *testing.T) { function TestListSet (line 213) | func TestListSet(t *testing.T) { function TestListEach (line 234) | func TestListEach(t *testing.T) { function TestListMap (line 257) | func TestListMap(t *testing.T) { function TestListSelect (line 277) | func TestListSelect(t *testing.T) { function TestListAny (line 294) | func TestListAny(t *testing.T) { function TestListAll (line 310) | func TestListAll(t *testing.T) { function TestListFind (line 326) | func TestListFind(t *testing.T) { function TestListChaining (line 342) | func TestListChaining(t *testing.T) { function TestListIteratorNextOnEmpty (line 361) | func TestListIteratorNextOnEmpty(t *testing.T) { function TestListIteratorNext (line 369) | func TestListIteratorNext(t *testing.T) { function TestListIteratorPrevOnEmpty (line 400) | func TestListIteratorPrevOnEmpty(t *testing.T) { function TestListIteratorPrev (line 408) | func TestListIteratorPrev(t *testing.T) { function TestListIteratorBegin (line 441) | func TestListIteratorBegin(t *testing.T) { function TestListIteratorEnd (line 455) | func TestListIteratorEnd(t *testing.T) { function TestListIteratorFirst (line 480) | func TestListIteratorFirst(t *testing.T) { function TestListIteratorLast (line 495) | func TestListIteratorLast(t *testing.T) { function TestListIteratorNextTo (line 510) | func TestListIteratorNextTo(t *testing.T) { function TestListIteratorPrevTo (line 559) | func TestListIteratorPrevTo(t *testing.T) { function TestListSerialization (line 610) | func TestListSerialization(t *testing.T) { function TestListString (line 647) | func TestListString(t *testing.T) { function benchmarkGet (line 655) | func benchmarkGet(b *testing.B, list *List[int], size int) { function benchmarkAdd (line 663) | func benchmarkAdd(b *testing.B, list *List[int], size int) { function benchmarkRemove (line 671) | func benchmarkRemove(b *testing.B, list *List[int], size int) { function BenchmarkDoublyLinkedListGet100 (line 679) | func BenchmarkDoublyLinkedListGet100(b *testing.B) { function BenchmarkDoublyLinkedListGet1000 (line 690) | func BenchmarkDoublyLinkedListGet1000(b *testing.B) { function BenchmarkDoublyLinkedListGet10000 (line 701) | func BenchmarkDoublyLinkedListGet10000(b *testing.B) { function BenchmarkDoublyLinkedListGet100000 (line 712) | func BenchmarkDoublyLinkedListGet100000(b *testing.B) { function BenchmarkDoublyLinkedListAdd100 (line 723) | func BenchmarkDoublyLinkedListAdd100(b *testing.B) { function BenchmarkDoublyLinkedListAdd1000 (line 731) | func BenchmarkDoublyLinkedListAdd1000(b *testing.B) { function BenchmarkDoublyLinkedListAdd10000 (line 742) | func BenchmarkDoublyLinkedListAdd10000(b *testing.B) { function BenchmarkDoublyLinkedListAdd100000 (line 753) | func BenchmarkDoublyLinkedListAdd100000(b *testing.B) { function BenchmarkDoublyLinkedListRemove100 (line 764) | func BenchmarkDoublyLinkedListRemove100(b *testing.B) { function BenchmarkDoublyLinkedListRemove1000 (line 775) | func BenchmarkDoublyLinkedListRemove1000(b *testing.B) { function BenchmarkDoublyLinkedListRemove10000 (line 786) | func BenchmarkDoublyLinkedListRemove10000(b *testing.B) { function BenchmarkDoublyLinkedListRemove100000 (line 797) | func BenchmarkDoublyLinkedListRemove100000(b *testing.B) { FILE: lists/doublylinkedlist/enumerable.go method Each (line 13) | func (list *List[T]) Each(f func(index int, value T)) { method Map (line 22) | func (list *List[T]) Map(f func(index int, value T) T) *List[T] { method Select (line 32) | func (list *List[T]) Select(f func(index int, value T) bool) *List[T] { method Any (line 45) | func (list *List[T]) Any(f func(index int, value T) bool) bool { method All (line 57) | func (list *List[T]) All(f func(index int, value T) bool) bool { method Find (line 70) | func (list *List[T]) Find(f func(index int, value T) bool) (index int, v... FILE: lists/doublylinkedlist/iterator.go type Iterator (line 13) | type Iterator struct method Iterator (line 20) | func (list *List[T]) Iterator() Iterator[T] { method Next (line 28) | func (iterator *Iterator[T]) Next() bool { method Prev (line 47) | func (iterator *Iterator[T]) Prev() bool { method Value (line 65) | func (iterator *Iterator[T]) Value() T { method Index (line 71) | func (iterator *Iterator[T]) Index() int { method Begin (line 77) | func (iterator *Iterator[T]) Begin() { method End (line 84) | func (iterator *Iterator[T]) End() { method First (line 92) | func (iterator *Iterator[T]) First() bool { method Last (line 100) | func (iterator *Iterator[T]) Last() bool { method NextTo (line 109) | func (iterator *Iterator[T]) NextTo(f func(index int, value T) bool) bool { method PrevTo (line 123) | func (iterator *Iterator[T]) PrevTo(f func(index int, value T) bool) bool { FILE: lists/doublylinkedlist/serialization.go method ToJSON (line 18) | func (list *List[T]) ToJSON() ([]byte, error) { method FromJSON (line 23) | func (list *List[T]) FromJSON(data []byte) error { method UnmarshalJSON (line 34) | func (list *List[T]) UnmarshalJSON(bytes []byte) error { method MarshalJSON (line 39) | func (list *List[T]) MarshalJSON() ([]byte, error) { FILE: lists/lists.go type List (line 18) | type List interface FILE: lists/singlylinkedlist/enumerable.go method Each (line 13) | func (list *List[T]) Each(f func(index int, value T)) { method Map (line 22) | func (list *List[T]) Map(f func(index int, value T) T) *List[T] { method Select (line 32) | func (list *List[T]) Select(f func(index int, value T) bool) *List[T] { method Any (line 45) | func (list *List[T]) Any(f func(index int, value T) bool) bool { method All (line 57) | func (list *List[T]) All(f func(index int, value T) bool) bool { method Find (line 70) | func (list *List[T]) Find(f func(index int, value T) bool) (index int, v... FILE: lists/singlylinkedlist/iterator.go type Iterator (line 13) | type Iterator struct method Iterator (line 20) | func (list *List[T]) Iterator() *Iterator[T] { method Next (line 28) | func (iterator *Iterator[T]) Next() bool { method Value (line 46) | func (iterator *Iterator[T]) Value() T { method Index (line 52) | func (iterator *Iterator[T]) Index() int { method Begin (line 58) | func (iterator *Iterator[T]) Begin() { method First (line 66) | func (iterator *Iterator[T]) First() bool { method NextTo (line 75) | func (iterator *Iterator[T]) NextTo(f func(index int, value T) bool) bool { FILE: lists/singlylinkedlist/serialization.go method ToJSON (line 18) | func (list *List[T]) ToJSON() ([]byte, error) { method FromJSON (line 23) | func (list *List[T]) FromJSON(data []byte) error { method UnmarshalJSON (line 34) | func (list *List[T]) UnmarshalJSON(bytes []byte) error { method MarshalJSON (line 39) | func (list *List[T]) MarshalJSON() ([]byte, error) { FILE: lists/singlylinkedlist/singlylinkedlist.go type List (line 25) | type List struct type element (line 31) | type element struct function New (line 37) | func New[T comparable](values ...T) *List[T] { method Add (line 46) | func (list *List[T]) Add(values ...T) { method Append (line 61) | func (list *List[T]) Append(values ...T) { method Prepend (line 66) | func (list *List[T]) Prepend(values ...T) { method Get (line 80) | func (list *List[T]) Get(index int) (T, bool) { method Remove (line 95) | func (list *List[T]) Remove(index int) { method Contains (line 131) | func (list *List[T]) Contains(values ...T) bool { method Values (line 155) | func (list *List[T]) Values() []T { method IndexOf (line 164) | func (list *List[T]) IndexOf(value T) int { method Empty (line 177) | func (list *List[T]) Empty() bool { method Size (line 182) | func (list *List[T]) Size() int { method Clear (line 187) | func (list *List[T]) Clear() { method Sort (line 194) | func (list *List[T]) Sort(comparator utils.Comparator[T]) { method Swap (line 210) | func (list *List[T]) Swap(i, j int) { method Insert (line 228) | func (list *List[T]) Insert(index int, values ...T) { method Set (line 272) | func (list *List[T]) Set(index int, value T) { method String (line 290) | func (list *List[T]) String() string { method withinRange (line 301) | func (list *List[T]) withinRange(index int) bool { FILE: lists/singlylinkedlist/singlylinkedlist_test.go function TestListNew (line 15) | func TestListNew(t *testing.T) { function TestListAdd (line 41) | func TestListAdd(t *testing.T) { function TestListAppendAndPrepend (line 56) | func TestListAppendAndPrepend(t *testing.T) { function TestListRemove (line 78) | func TestListRemove(t *testing.T) { function TestListGet (line 97) | func TestListGet(t *testing.T) { function TestListSwap (line 119) | func TestListSwap(t *testing.T) { function TestListSort (line 129) | func TestListSort(t *testing.T) { function TestListClear (line 143) | func TestListClear(t *testing.T) { function TestListContains (line 155) | func TestListContains(t *testing.T) { function TestListValues (line 180) | func TestListValues(t *testing.T) { function TestListIndexOf (line 189) | func TestListIndexOf(t *testing.T) { function TestListInsert (line 216) | func TestListInsert(t *testing.T) { function TestListSet (line 233) | func TestListSet(t *testing.T) { function TestListEach (line 254) | func TestListEach(t *testing.T) { function TestListMap (line 277) | func TestListMap(t *testing.T) { function TestListSelect (line 297) | func TestListSelect(t *testing.T) { function TestListAny (line 314) | func TestListAny(t *testing.T) { function TestListAll (line 330) | func TestListAll(t *testing.T) { function TestListFind (line 346) | func TestListFind(t *testing.T) { function TestListChaining (line 362) | func TestListChaining(t *testing.T) { function TestListIteratorNextOnEmpty (line 381) | func TestListIteratorNextOnEmpty(t *testing.T) { function TestListIteratorNext (line 389) | func TestListIteratorNext(t *testing.T) { function TestListIteratorBegin (line 420) | func TestListIteratorBegin(t *testing.T) { function TestListIteratorFirst (line 434) | func TestListIteratorFirst(t *testing.T) { function TestListIteratorNextTo (line 449) | func TestListIteratorNextTo(t *testing.T) { function TestListSerialization (line 498) | func TestListSerialization(t *testing.T) { function TestListString (line 535) | func TestListString(t *testing.T) { function benchmarkGet (line 543) | func benchmarkGet(b *testing.B, list *List[int], size int) { function benchmarkAdd (line 551) | func benchmarkAdd(b *testing.B, list *List[int], size int) { function benchmarkRemove (line 559) | func benchmarkRemove(b *testing.B, list *List[int], size int) { function BenchmarkSinglyLinkedListGet100 (line 567) | func BenchmarkSinglyLinkedListGet100(b *testing.B) { function BenchmarkSinglyLinkedListGet1000 (line 578) | func BenchmarkSinglyLinkedListGet1000(b *testing.B) { function BenchmarkSinglyLinkedListGet10000 (line 589) | func BenchmarkSinglyLinkedListGet10000(b *testing.B) { function BenchmarkSinglyLinkedListGet100000 (line 600) | func BenchmarkSinglyLinkedListGet100000(b *testing.B) { function BenchmarkSinglyLinkedListAdd100 (line 611) | func BenchmarkSinglyLinkedListAdd100(b *testing.B) { function BenchmarkSinglyLinkedListAdd1000 (line 619) | func BenchmarkSinglyLinkedListAdd1000(b *testing.B) { function BenchmarkSinglyLinkedListAdd10000 (line 630) | func BenchmarkSinglyLinkedListAdd10000(b *testing.B) { function BenchmarkSinglyLinkedListAdd100000 (line 641) | func BenchmarkSinglyLinkedListAdd100000(b *testing.B) { function BenchmarkSinglyLinkedListRemove100 (line 652) | func BenchmarkSinglyLinkedListRemove100(b *testing.B) { function BenchmarkSinglyLinkedListRemove1000 (line 663) | func BenchmarkSinglyLinkedListRemove1000(b *testing.B) { function BenchmarkSinglyLinkedListRemove10000 (line 674) | func BenchmarkSinglyLinkedListRemove10000(b *testing.B) { function BenchmarkSinglyLinkedListRemove100000 (line 685) | func BenchmarkSinglyLinkedListRemove100000(b *testing.B) { FILE: maps/hashbidimap/hashbidimap.go type Map (line 29) | type Map struct function New (line 35) | func New[K, V comparable]() *Map[K, V] { method Put (line 40) | func (m *Map[K, V]) Put(key K, value V) { method Get (line 53) | func (m *Map[K, V]) Get(key K) (value V, found bool) { method GetKey (line 59) | func (m *Map[K, V]) GetKey(value V) (key K, found bool) { method Remove (line 64) | func (m *Map[K, V]) Remove(key K) { method Empty (line 72) | func (m *Map[K, V]) Empty() bool { method Size (line 77) | func (m *Map[K, V]) Size() int { method Keys (line 82) | func (m *Map[K, V]) Keys() []K { method Values (line 87) | func (m *Map[K, V]) Values() []V { method Clear (line 92) | func (m *Map[K, V]) Clear() { method String (line 98) | func (m *Map[K, V]) String() string { FILE: maps/hashbidimap/hashbidimap_test.go function TestMapPut (line 15) | func TestMapPut(t *testing.T) { function TestMapRemove (line 53) | func TestMapRemove(t *testing.T) { function TestMapGetKey (line 112) | func TestMapGetKey(t *testing.T) { function TestMapSerialization (line 144) | func TestMapSerialization(t *testing.T) { function TestMapString (line 181) | func TestMapString(t *testing.T) { function benchmarkGet (line 189) | func benchmarkGet(b *testing.B, m *Map[int, int], size int) { function benchmarkPut (line 197) | func benchmarkPut(b *testing.B, m *Map[int, int], size int) { function benchmarkRemove (line 205) | func benchmarkRemove(b *testing.B, m *Map[int, int], size int) { function BenchmarkHashBidiMapGet100 (line 213) | func BenchmarkHashBidiMapGet100(b *testing.B) { function BenchmarkHashBidiMapGet1000 (line 224) | func BenchmarkHashBidiMapGet1000(b *testing.B) { function BenchmarkHashBidiMapGet10000 (line 235) | func BenchmarkHashBidiMapGet10000(b *testing.B) { function BenchmarkHashBidiMapGet100000 (line 246) | func BenchmarkHashBidiMapGet100000(b *testing.B) { function BenchmarkHashBidiMapPut100 (line 257) | func BenchmarkHashBidiMapPut100(b *testing.B) { function BenchmarkHashBidiMapPut1000 (line 265) | func BenchmarkHashBidiMapPut1000(b *testing.B) { function BenchmarkHashBidiMapPut10000 (line 276) | func BenchmarkHashBidiMapPut10000(b *testing.B) { function BenchmarkHashBidiMapPut100000 (line 287) | func BenchmarkHashBidiMapPut100000(b *testing.B) { function BenchmarkHashBidiMapRemove100 (line 298) | func BenchmarkHashBidiMapRemove100(b *testing.B) { function BenchmarkHashBidiMapRemove1000 (line 309) | func BenchmarkHashBidiMapRemove1000(b *testing.B) { function BenchmarkHashBidiMapRemove10000 (line 320) | func BenchmarkHashBidiMapRemove10000(b *testing.B) { function BenchmarkHashBidiMapRemove100000 (line 331) | func BenchmarkHashBidiMapRemove100000(b *testing.B) { FILE: maps/hashbidimap/serialization.go method ToJSON (line 18) | func (m *Map[K, V]) ToJSON() ([]byte, error) { method FromJSON (line 23) | func (m *Map[K, V]) FromJSON(data []byte) error { method UnmarshalJSON (line 39) | func (m *Map[K, V]) UnmarshalJSON(bytes []byte) error { method MarshalJSON (line 44) | func (m *Map[K, V]) MarshalJSON() ([]byte, error) { FILE: maps/hashmap/hashmap.go type Map (line 24) | type Map struct function New (line 29) | func New[K comparable, V any]() *Map[K, V] { method Put (line 34) | func (m *Map[K, V]) Put(key K, value V) { method Get (line 40) | func (m *Map[K, V]) Get(key K) (value V, found bool) { method Remove (line 46) | func (m *Map[K, V]) Remove(key K) { method Empty (line 51) | func (m *Map[K, V]) Empty() bool { method Size (line 56) | func (m *Map[K, V]) Size() int { method Keys (line 61) | func (m *Map[K, V]) Keys() []K { method Values (line 72) | func (m *Map[K, V]) Values() []V { method Clear (line 83) | func (m *Map[K, V]) Clear() { method String (line 88) | func (m *Map[K, V]) String() string { FILE: maps/hashmap/hashmap_test.go function TestMapPut (line 15) | func TestMapPut(t *testing.T) { function TestMapRemove (line 53) | func TestMapRemove(t *testing.T) { function TestMapSerialization (line 112) | func TestMapSerialization(t *testing.T) { function TestMapString (line 149) | func TestMapString(t *testing.T) { function benchmarkGet (line 157) | func benchmarkGet(b *testing.B, m *Map[int, int], size int) { function benchmarkPut (line 165) | func benchmarkPut(b *testing.B, m *Map[int, int], size int) { function benchmarkRemove (line 173) | func benchmarkRemove(b *testing.B, m *Map[int, int], size int) { function BenchmarkHashMapGet100 (line 181) | func BenchmarkHashMapGet100(b *testing.B) { function BenchmarkHashMapGet1000 (line 192) | func BenchmarkHashMapGet1000(b *testing.B) { function BenchmarkHashMapGet10000 (line 203) | func BenchmarkHashMapGet10000(b *testing.B) { function BenchmarkHashMapGet100000 (line 214) | func BenchmarkHashMapGet100000(b *testing.B) { function BenchmarkHashMapPut100 (line 225) | func BenchmarkHashMapPut100(b *testing.B) { function BenchmarkHashMapPut1000 (line 233) | func BenchmarkHashMapPut1000(b *testing.B) { function BenchmarkHashMapPut10000 (line 244) | func BenchmarkHashMapPut10000(b *testing.B) { function BenchmarkHashMapPut100000 (line 255) | func BenchmarkHashMapPut100000(b *testing.B) { function BenchmarkHashMapRemove100 (line 266) | func BenchmarkHashMapRemove100(b *testing.B) { function BenchmarkHashMapRemove1000 (line 277) | func BenchmarkHashMapRemove1000(b *testing.B) { function BenchmarkHashMapRemove10000 (line 288) | func BenchmarkHashMapRemove10000(b *testing.B) { function BenchmarkHashMapRemove100000 (line 299) | func BenchmarkHashMapRemove100000(b *testing.B) { FILE: maps/hashmap/serialization.go method ToJSON (line 18) | func (m *Map[K, V]) ToJSON() ([]byte, error) { method FromJSON (line 23) | func (m *Map[K, V]) FromJSON(data []byte) error { method UnmarshalJSON (line 28) | func (m *Map[K, V]) UnmarshalJSON(bytes []byte) error { method MarshalJSON (line 33) | func (m *Map[K, V]) MarshalJSON() ([]byte, error) { FILE: maps/linkedhashmap/enumerable.go method Each (line 13) | func (m *Map[K, V]) Each(f func(key K, value V)) { method Map (line 22) | func (m *Map[K, V]) Map(f func(key1 K, value1 V) (K, V)) *Map[K, V] { method Select (line 33) | func (m *Map[K, V]) Select(f func(key K, value V) bool) *Map[K, V] { method Any (line 46) | func (m *Map[K, V]) Any(f func(key K, value V) bool) bool { method All (line 58) | func (m *Map[K, V]) All(f func(key K, value V) bool) bool { method Find (line 71) | func (m *Map[K, V]) Find(f func(key K, value V) bool) (k K, v V) { FILE: maps/linkedhashmap/iterator.go type Iterator (line 16) | type Iterator struct method Iterator (line 22) | func (m *Map[K, V]) Iterator() *Iterator[K, V] { method Next (line 33) | func (iterator *Iterator[K, V]) Next() bool { method Prev (line 40) | func (iterator *Iterator[K, V]) Prev() bool { method Value (line 46) | func (iterator *Iterator[K, V]) Value() V { method Key (line 53) | func (iterator *Iterator[K, V]) Key() K { method Begin (line 59) | func (iterator *Iterator[K, V]) Begin() { method End (line 65) | func (iterator *Iterator[K, V]) End() { method First (line 72) | func (iterator *Iterator[K, V]) First() bool { method Last (line 79) | func (iterator *Iterator[K, V]) Last() bool { method NextTo (line 87) | func (iterator *Iterator[K, V]) NextTo(f func(key K, value V) bool) bool { method PrevTo (line 101) | func (iterator *Iterator[K, V]) PrevTo(f func(key K, value V) bool) bool { FILE: maps/linkedhashmap/linkedhashmap.go type Map (line 26) | type Map struct function New (line 32) | func New[K comparable, V any]() *Map[K, V] { method Put (line 41) | func (m *Map[K, V]) Put(key K, value V) { method Get (line 51) | func (m *Map[K, V]) Get(key K) (value V, found bool) { method Remove (line 58) | func (m *Map[K, V]) Remove(key K) { method Empty (line 67) | func (m *Map[K, V]) Empty() bool { method Size (line 72) | func (m *Map[K, V]) Size() int { method Keys (line 77) | func (m *Map[K, V]) Keys() []K { method Values (line 82) | func (m *Map[K, V]) Values() []V { method Clear (line 94) | func (m *Map[K, V]) Clear() { method String (line 100) | func (m *Map[K, V]) String() string { FILE: maps/linkedhashmap/linkedhashmap_test.go function TestMapPut (line 15) | func TestMapPut(t *testing.T) { function TestMapRemove (line 53) | func TestMapRemove(t *testing.T) { function TestMapEach (line 112) | func TestMapEach(t *testing.T) { function TestMapMap (line 142) | func TestMapMap(t *testing.T) { function TestMapSelect (line 164) | func TestMapSelect(t *testing.T) { function TestMapAny (line 183) | func TestMapAny(t *testing.T) { function TestMapAll (line 202) | func TestMapAll(t *testing.T) { function TestMapFind (line 221) | func TestMapFind(t *testing.T) { function TestMapChaining (line 240) | func TestMapChaining(t *testing.T) { function TestMapIteratorNextOnEmpty (line 264) | func TestMapIteratorNextOnEmpty(t *testing.T) { function TestMapIteratorPrevOnEmpty (line 273) | func TestMapIteratorPrevOnEmpty(t *testing.T) { function TestMapIteratorNext (line 282) | func TestMapIteratorNext(t *testing.T) { function TestMapIteratorPrev (line 319) | func TestMapIteratorPrev(t *testing.T) { function TestMapIteratorBegin (line 358) | func TestMapIteratorBegin(t *testing.T) { function TestMapIteratorEnd (line 374) | func TestMapIteratorEnd(t *testing.T) { function TestMapIteratorFirst (line 387) | func TestMapIteratorFirst(t *testing.T) { function TestMapIteratorLast (line 401) | func TestMapIteratorLast(t *testing.T) { function TestMapIteratorNextTo (line 415) | func TestMapIteratorNextTo(t *testing.T) { function TestMapIteratorPrevTo (line 467) | func TestMapIteratorPrevTo(t *testing.T) { function TestMapSerialization (line 521) | func TestMapSerialization(t *testing.T) { function TestMapString (line 568) | func TestMapString(t *testing.T) { function benchmarkGet (line 576) | func benchmarkGet(b *testing.B, m *Map[int, int], size int) { function benchmarkPut (line 584) | func benchmarkPut(b *testing.B, m *Map[int, int], size int) { function benchmarkRemove (line 592) | func benchmarkRemove(b *testing.B, m *Map[int, int], size int) { function BenchmarkTreeMapGet100 (line 600) | func BenchmarkTreeMapGet100(b *testing.B) { function BenchmarkTreeMapGet1000 (line 611) | func BenchmarkTreeMapGet1000(b *testing.B) { function BenchmarkTreeMapGet10000 (line 622) | func BenchmarkTreeMapGet10000(b *testing.B) { function BenchmarkTreeMapGet100000 (line 633) | func BenchmarkTreeMapGet100000(b *testing.B) { function BenchmarkTreeMapPut100 (line 644) | func BenchmarkTreeMapPut100(b *testing.B) { function BenchmarkTreeMapPut1000 (line 652) | func BenchmarkTreeMapPut1000(b *testing.B) { function BenchmarkTreeMapPut10000 (line 663) | func BenchmarkTreeMapPut10000(b *testing.B) { function BenchmarkTreeMapPut100000 (line 674) | func BenchmarkTreeMapPut100000(b *testing.B) { function BenchmarkTreeMapRemove100 (line 685) | func BenchmarkTreeMapRemove100(b *testing.B) { function BenchmarkTreeMapRemove1000 (line 696) | func BenchmarkTreeMapRemove1000(b *testing.B) { function BenchmarkTreeMapRemove10000 (line 707) | func BenchmarkTreeMapRemove10000(b *testing.B) { function BenchmarkTreeMapRemove100000 (line 718) | func BenchmarkTreeMapRemove100000(b *testing.B) { FILE: maps/linkedhashmap/serialization.go method ToJSON (line 21) | func (m *Map[K, V]) ToJSON() ([]byte, error) { method FromJSON (line 72) | func (m *Map[K, V]) FromJSON(data []byte) error { method UnmarshalJSON (line 103) | func (m *Map[K, V]) UnmarshalJSON(bytes []byte) error { method MarshalJSON (line 108) | func (m *Map[K, V]) MarshalJSON() ([]byte, error) { FILE: maps/maps.go type Map (line 21) | type Map interface type BidiMap (line 36) | type BidiMap interface FILE: maps/treebidimap/enumerable.go method Each (line 13) | func (m *Map[K, V]) Each(f func(key K, value V)) { method Map (line 22) | func (m *Map[K, V]) Map(f func(key1 K, value1 V) (K, V)) *Map[K, V] { method Select (line 33) | func (m *Map[K, V]) Select(f func(key K, value V) bool) *Map[K, V] { method Any (line 46) | func (m *Map[K, V]) Any(f func(key K, value V) bool) bool { method All (line 58) | func (m *Map[K, V]) All(f func(key K, value V) bool) bool { method Find (line 71) | func (m *Map[K, V]) Find(f func(key K, value V) bool) (k K, v V) { FILE: maps/treebidimap/iterator.go type Iterator (line 16) | type Iterator struct method Iterator (line 21) | func (m *Map[K, V]) Iterator() *Iterator[K, V] { method Next (line 29) | func (iterator *Iterator[K, V]) Next() bool { method Prev (line 36) | func (iterator *Iterator[K, V]) Prev() bool { method Value (line 42) | func (iterator *Iterator[K, V]) Value() V { method Key (line 48) | func (iterator *Iterator[K, V]) Key() K { method Begin (line 54) | func (iterator *Iterator[K, V]) Begin() { method End (line 60) | func (iterator *Iterator[K, V]) End() { method First (line 67) | func (iterator *Iterator[K, V]) First() bool { method Last (line 74) | func (iterator *Iterator[K, V]) Last() bool { method NextTo (line 82) | func (iterator *Iterator[K, V]) NextTo(f func(key K, value V) bool) bool { method PrevTo (line 96) | func (iterator *Iterator[K, V]) PrevTo(f func(key K, value V) bool) bool { FILE: maps/treebidimap/serialization.go method ToJSON (line 18) | func (m *Map[K, V]) ToJSON() ([]byte, error) { method FromJSON (line 23) | func (m *Map[K, V]) FromJSON(data []byte) error { method UnmarshalJSON (line 39) | func (m *Map[K, V]) UnmarshalJSON(bytes []byte) error { method MarshalJSON (line 44) | func (m *Map[K, V]) MarshalJSON() ([]byte, error) { FILE: maps/treebidimap/treebidimap.go type Map (line 35) | type Map struct function New (line 41) | func New[K, V cmp.Ordered]() *Map[K, V] { function NewWith (line 49) | func NewWith[K, V comparable](keyComparator utils.Comparator[K], valueCo... method Put (line 57) | func (m *Map[K, V]) Put(key K, value V) { method Get (line 70) | func (m *Map[K, V]) Get(key K) (value V, found bool) { method GetKey (line 76) | func (m *Map[K, V]) GetKey(value V) (key K, found bool) { method Remove (line 81) | func (m *Map[K, V]) Remove(key K) { method Empty (line 89) | func (m *Map[K, V]) Empty() bool { method Size (line 94) | func (m *Map[K, V]) Size() int { method Keys (line 99) | func (m *Map[K, V]) Keys() []K { method Values (line 104) | func (m *Map[K, V]) Values() []V { method Clear (line 109) | func (m *Map[K, V]) Clear() { method String (line 115) | func (m *Map[K, V]) String() string { FILE: maps/treebidimap/treebidimap_test.go function TestMapPut (line 15) | func TestMapPut(t *testing.T) { function TestMapRemove (line 53) | func TestMapRemove(t *testing.T) { function TestMapGetKey (line 112) | func TestMapGetKey(t *testing.T) { function sameElements (line 144) | func sameElements(a []interface{}, b []interface{}) bool { function TestMapEach (line 163) | func TestMapEach(t *testing.T) { function TestMapMap (line 193) | func TestMapMap(t *testing.T) { function TestMapSelect (line 215) | func TestMapSelect(t *testing.T) { function TestMapAny (line 234) | func TestMapAny(t *testing.T) { function TestMapAll (line 253) | func TestMapAll(t *testing.T) { function TestMapFind (line 272) | func TestMapFind(t *testing.T) { function TestMapChaining (line 291) | func TestMapChaining(t *testing.T) { function TestMapIteratorNextOnEmpty (line 315) | func TestMapIteratorNextOnEmpty(t *testing.T) { function TestMapIteratorPrevOnEmpty (line 324) | func TestMapIteratorPrevOnEmpty(t *testing.T) { function TestMapIteratorNext (line 333) | func TestMapIteratorNext(t *testing.T) { function TestMapIteratorPrev (line 370) | func TestMapIteratorPrev(t *testing.T) { function TestMapIteratorBegin (line 409) | func TestMapIteratorBegin(t *testing.T) { function TestMapIteratorEnd (line 425) | func TestMapIteratorEnd(t *testing.T) { function TestMapIteratorFirst (line 438) | func TestMapIteratorFirst(t *testing.T) { function TestMapIteratorLast (line 452) | func TestMapIteratorLast(t *testing.T) { function TestMapIteratorNextTo (line 466) | func TestMapIteratorNextTo(t *testing.T) { function TestMapIteratorPrevTo (line 518) | func TestMapIteratorPrevTo(t *testing.T) { function TestMapSerialization (line 572) | func TestMapSerialization(t *testing.T) { function TestMapString (line 619) | func TestMapString(t *testing.T) { function benchmarkGet (line 627) | func benchmarkGet(b *testing.B, m *Map[int, int], size int) { function benchmarkPut (line 635) | func benchmarkPut(b *testing.B, m *Map[int, int], size int) { function benchmarkRemove (line 643) | func benchmarkRemove(b *testing.B, m *Map[int, int], size int) { function BenchmarkTreeBidiMapGet100 (line 651) | func BenchmarkTreeBidiMapGet100(b *testing.B) { function BenchmarkTreeBidiMapGet1000 (line 662) | func BenchmarkTreeBidiMapGet1000(b *testing.B) { function BenchmarkTreeBidiMapGet10000 (line 673) | func BenchmarkTreeBidiMapGet10000(b *testing.B) { function BenchmarkTreeBidiMapGet100000 (line 684) | func BenchmarkTreeBidiMapGet100000(b *testing.B) { function BenchmarkTreeBidiMapPut100 (line 695) | func BenchmarkTreeBidiMapPut100(b *testing.B) { function BenchmarkTreeBidiMapPut1000 (line 703) | func BenchmarkTreeBidiMapPut1000(b *testing.B) { function BenchmarkTreeBidiMapPut10000 (line 714) | func BenchmarkTreeBidiMapPut10000(b *testing.B) { function BenchmarkTreeBidiMapPut100000 (line 725) | func BenchmarkTreeBidiMapPut100000(b *testing.B) { function BenchmarkTreeBidiMapRemove100 (line 736) | func BenchmarkTreeBidiMapRemove100(b *testing.B) { function BenchmarkTreeBidiMapRemove1000 (line 747) | func BenchmarkTreeBidiMapRemove1000(b *testing.B) { function BenchmarkTreeBidiMapRemove10000 (line 758) | func BenchmarkTreeBidiMapRemove10000(b *testing.B) { function BenchmarkTreeBidiMapRemove100000 (line 769) | func BenchmarkTreeBidiMapRemove100000(b *testing.B) { FILE: maps/treemap/enumerable.go method Each (line 16) | func (m *Map[K, V]) Each(f func(key K, value V)) { method Map (line 25) | func (m *Map[K, V]) Map(f func(key1 K, value1 V) (K, V)) *Map[K, V] { method Select (line 36) | func (m *Map[K, V]) Select(f func(key K, value V) bool) *Map[K, V] { method Any (line 49) | func (m *Map[K, V]) Any(f func(key K, value V) bool) bool { method All (line 61) | func (m *Map[K, V]) All(f func(key K, value V) bool) bool { method Find (line 74) | func (m *Map[K, V]) Find(f func(key K, value V) bool) (k K, v V) { FILE: maps/treemap/iterator.go type Iterator (line 16) | type Iterator struct method Iterator (line 21) | func (m *Map[K, V]) Iterator() *Iterator[K, V] { method Next (line 29) | func (iterator *Iterator[K, V]) Next() bool { method Prev (line 36) | func (iterator *Iterator[K, V]) Prev() bool { method Value (line 42) | func (iterator *Iterator[K, V]) Value() V { method Key (line 48) | func (iterator *Iterator[K, V]) Key() K { method Begin (line 54) | func (iterator *Iterator[K, V]) Begin() { method End (line 60) | func (iterator *Iterator[K, V]) End() { method First (line 67) | func (iterator *Iterator[K, V]) First() bool { method Last (line 74) | func (iterator *Iterator[K, V]) Last() bool { method NextTo (line 82) | func (iterator *Iterator[K, V]) NextTo(f func(key K, value V) bool) bool { method PrevTo (line 96) | func (iterator *Iterator[K, V]) PrevTo(f func(key K, value V) bool) bool { FILE: maps/treemap/serialization.go method ToJSON (line 16) | func (m *Map[K, V]) ToJSON() ([]byte, error) { method FromJSON (line 21) | func (m *Map[K, V]) FromJSON(data []byte) error { method UnmarshalJSON (line 26) | func (m *Map[K, V]) UnmarshalJSON(bytes []byte) error { method MarshalJSON (line 31) | func (m *Map[K, V]) MarshalJSON() ([]byte, error) { FILE: maps/treemap/treemap.go type Map (line 28) | type Map struct function New (line 33) | func New[K cmp.Ordered, V any]() *Map[K, V] { function NewWith (line 38) | func NewWith[K comparable, V any](comparator utils.Comparator[K]) *Map[K... method Put (line 44) | func (m *Map[K, V]) Put(key K, value V) { method Get (line 51) | func (m *Map[K, V]) Get(key K) (value V, found bool) { method Remove (line 57) | func (m *Map[K, V]) Remove(key K) { method Empty (line 62) | func (m *Map[K, V]) Empty() bool { method Size (line 67) | func (m *Map[K, V]) Size() int { method Keys (line 72) | func (m *Map[K, V]) Keys() []K { method Values (line 77) | func (m *Map[K, V]) Values() []V { method Clear (line 82) | func (m *Map[K, V]) Clear() { method Min (line 88) | func (m *Map[K, V]) Min() (key K, value V, ok bool) { method Max (line 97) | func (m *Map[K, V]) Max() (key K, value V, ok bool) { method Floor (line 113) | func (m *Map[K, V]) Floor(key K) (foundKey K, foundValue V, ok bool) { method Ceiling (line 130) | func (m *Map[K, V]) Ceiling(key K) (foundKey K, foundValue V, ok bool) { method String (line 139) | func (m *Map[K, V]) String() string { FILE: maps/treemap/treemap_test.go function TestMapPut (line 15) | func TestMapPut(t *testing.T) { function TestMapMin (line 53) | func TestMapMin(t *testing.T) { function TestMapMax (line 82) | func TestMapMax(t *testing.T) { function TestMapClear (line 111) | func TestMapClear(t *testing.T) { function TestMapRemove (line 126) | func TestMapRemove(t *testing.T) { function TestMapFloor (line 185) | func TestMapFloor(t *testing.T) { function TestMapCeiling (line 212) | func TestMapCeiling(t *testing.T) { function TestMapEach (line 239) | func TestMapEach(t *testing.T) { function TestMapMap (line 269) | func TestMapMap(t *testing.T) { function TestMapSelect (line 291) | func TestMapSelect(t *testing.T) { function TestMapAny (line 310) | func TestMapAny(t *testing.T) { function TestMapAll (line 329) | func TestMapAll(t *testing.T) { function TestMapFind (line 348) | func TestMapFind(t *testing.T) { function TestMapChaining (line 367) | func TestMapChaining(t *testing.T) { function TestMapIteratorNextOnEmpty (line 391) | func TestMapIteratorNextOnEmpty(t *testing.T) { function TestMapIteratorPrevOnEmpty (line 400) | func TestMapIteratorPrevOnEmpty(t *testing.T) { function TestMapIteratorNext (line 409) | func TestMapIteratorNext(t *testing.T) { function TestMapIteratorPrev (line 446) | func TestMapIteratorPrev(t *testing.T) { function TestMapIteratorBegin (line 485) | func TestMapIteratorBegin(t *testing.T) { function TestMapIteratorEnd (line 501) | func TestMapIteratorEnd(t *testing.T) { function TestMapIteratorFirst (line 514) | func TestMapIteratorFirst(t *testing.T) { function TestMapIteratorLast (line 528) | func TestMapIteratorLast(t *testing.T) { function TestMapIteratorNextTo (line 542) | func TestMapIteratorNextTo(t *testing.T) { function TestMapIteratorPrevTo (line 594) | func TestMapIteratorPrevTo(t *testing.T) { function TestMapSerialization (line 648) | func TestMapSerialization(t *testing.T) { function TestMapString (line 689) | func TestMapString(t *testing.T) { function assertSerialization (line 698) | func assertSerialization(m *Map[string, string], txt string, t *testing.... function benchmarkGet (line 720) | func benchmarkGet(b *testing.B, m *Map[int, struct{}], size int) { function benchmarkPut (line 728) | func benchmarkPut(b *testing.B, m *Map[int, struct{}], size int) { function benchmarkRemove (line 736) | func benchmarkRemove(b *testing.B, m *Map[int, struct{}], size int) { function BenchmarkTreeMapGet100 (line 744) | func BenchmarkTreeMapGet100(b *testing.B) { function BenchmarkTreeMapGet1000 (line 755) | func BenchmarkTreeMapGet1000(b *testing.B) { function BenchmarkTreeMapGet10000 (line 766) | func BenchmarkTreeMapGet10000(b *testing.B) { function BenchmarkTreeMapGet100000 (line 777) | func BenchmarkTreeMapGet100000(b *testing.B) { function BenchmarkTreeMapPut100 (line 788) | func BenchmarkTreeMapPut100(b *testing.B) { function BenchmarkTreeMapPut1000 (line 796) | func BenchmarkTreeMapPut1000(b *testing.B) { function BenchmarkTreeMapPut10000 (line 807) | func BenchmarkTreeMapPut10000(b *testing.B) { function BenchmarkTreeMapPut100000 (line 818) | func BenchmarkTreeMapPut100000(b *testing.B) { function BenchmarkTreeMapRemove100 (line 829) | func BenchmarkTreeMapRemove100(b *testing.B) { function BenchmarkTreeMapRemove1000 (line 840) | func BenchmarkTreeMapRemove1000(b *testing.B) { function BenchmarkTreeMapRemove10000 (line 851) | func BenchmarkTreeMapRemove10000(b *testing.B) { function BenchmarkTreeMapRemove100000 (line 862) | func BenchmarkTreeMapRemove100000(b *testing.B) { FILE: queues/arrayqueue/arrayqueue.go type Queue (line 24) | type Queue struct function New (line 29) | func New[T comparable]() *Queue[T] { method Enqueue (line 34) | func (queue *Queue[T]) Enqueue(value T) { method Dequeue (line 40) | func (queue *Queue[T]) Dequeue() (value T, ok bool) { method Peek (line 50) | func (queue *Queue[T]) Peek() (value T, ok bool) { method Empty (line 55) | func (queue *Queue[T]) Empty() bool { method Size (line 60) | func (queue *Queue[T]) Size() int { method Clear (line 65) | func (queue *Queue[T]) Clear() { method Values (line 70) | func (queue *Queue[T]) Values() []T { method String (line 75) | func (queue *Queue[T]) String() string { method withinRange (line 86) | func (queue *Queue[T]) withinRange(index int) bool { FILE: queues/arrayqueue/arrayqueue_test.go function TestQueueEnqueue (line 15) | func TestQueueEnqueue(t *testing.T) { function TestQueuePeek (line 38) | func TestQueuePeek(t *testing.T) { function TestQueueDequeue (line 51) | func TestQueueDequeue(t *testing.T) { function TestQueueIteratorOnEmpty (line 77) | func TestQueueIteratorOnEmpty(t *testing.T) { function TestQueueIteratorNext (line 85) | func TestQueueIteratorNext(t *testing.T) { function TestQueueIteratorPrev (line 128) | func TestQueueIteratorPrev(t *testing.T) { function TestQueueIteratorBegin (line 167) | func TestQueueIteratorBegin(t *testing.T) { function TestQueueIteratorEnd (line 183) | func TestQueueIteratorEnd(t *testing.T) { function TestQueueIteratorFirst (line 210) | func TestQueueIteratorFirst(t *testing.T) { function TestQueueIteratorLast (line 227) | func TestQueueIteratorLast(t *testing.T) { function TestQueueIteratorNextTo (line 244) | func TestQueueIteratorNextTo(t *testing.T) { function TestQueueIteratorPrevTo (line 296) | func TestQueueIteratorPrevTo(t *testing.T) { function TestQueueSerialization (line 350) | func TestQueueSerialization(t *testing.T) { function TestQueueString (line 387) | func TestQueueString(t *testing.T) { function benchmarkEnqueue (line 395) | func benchmarkEnqueue(b *testing.B, queue *Queue[int], size int) { function benchmarkDequeue (line 403) | func benchmarkDequeue(b *testing.B, queue *Queue[int], size int) { function BenchmarkArrayQueueDequeue100 (line 411) | func BenchmarkArrayQueueDequeue100(b *testing.B) { function BenchmarkArrayQueueDequeue1000 (line 422) | func BenchmarkArrayQueueDequeue1000(b *testing.B) { function BenchmarkArrayQueueDequeue10000 (line 433) | func BenchmarkArrayQueueDequeue10000(b *testing.B) { function BenchmarkArrayQueueDequeue100000 (line 444) | func BenchmarkArrayQueueDequeue100000(b *testing.B) { function BenchmarkArrayQueueEnqueue100 (line 455) | func BenchmarkArrayQueueEnqueue100(b *testing.B) { function BenchmarkArrayQueueEnqueue1000 (line 463) | func BenchmarkArrayQueueEnqueue1000(b *testing.B) { function BenchmarkArrayQueueEnqueue10000 (line 474) | func BenchmarkArrayQueueEnqueue10000(b *testing.B) { function BenchmarkArrayQueueEnqueue100000 (line 485) | func BenchmarkArrayQueueEnqueue100000(b *testing.B) { FILE: queues/arrayqueue/iterator.go type Iterator (line 13) | type Iterator struct method Iterator (line 19) | func (queue *Queue[T]) Iterator() *Iterator[T] { method Next (line 27) | func (iterator *Iterator[T]) Next() bool { method Prev (line 37) | func (iterator *Iterator[T]) Prev() bool { method Value (line 46) | func (iterator *Iterator[T]) Value() T { method Index (line 53) | func (iterator *Iterator[T]) Index() int { method Begin (line 59) | func (iterator *Iterator[T]) Begin() { method End (line 65) | func (iterator *Iterator[T]) End() { method First (line 72) | func (iterator *Iterator[T]) First() bool { method Last (line 80) | func (iterator *Iterator[T]) Last() bool { method NextTo (line 89) | func (iterator *Iterator[T]) NextTo(f func(index int, value T) bool) bool { method PrevTo (line 103) | func (iterator *Iterator[T]) PrevTo(f func(index int, value T) bool) bool { FILE: queues/arrayqueue/serialization.go method ToJSON (line 16) | func (queue *Queue[T]) ToJSON() ([]byte, error) { method FromJSON (line 21) | func (queue *Queue[T]) FromJSON(data []byte) error { method UnmarshalJSON (line 26) | func (queue *Queue[T]) UnmarshalJSON(bytes []byte) error { method MarshalJSON (line 31) | func (queue *Queue[T]) MarshalJSON() ([]byte, error) { FILE: queues/circularbuffer/circularbuffer.go type Queue (line 25) | type Queue struct function New (line 36) | func New[T comparable](maxSize int) *Queue[T] { method Enqueue (line 46) | func (queue *Queue[T]) Enqueue(value T) { method Dequeue (line 64) | func (queue *Queue[T]) Dequeue() (value T, ok bool) { method Peek (line 82) | func (queue *Queue[T]) Peek() (value T, ok bool) { method Empty (line 90) | func (queue *Queue[T]) Empty() bool { method Full (line 95) | func (queue *Queue[T]) Full() bool { method Size (line 100) | func (queue *Queue[T]) Size() int { method Clear (line 105) | func (queue *Queue[T]) Clear() { method Values (line 114) | func (queue *Queue[T]) Values() []T { method String (line 123) | func (queue *Queue[T]) String() string { method withinRange (line 134) | func (queue *Queue[T]) withinRange(index int) bool { method calculateSize (line 138) | func (queue *Queue[T]) calculateSize() int { FILE: queues/circularbuffer/circularbuffer_test.go function TestQueueEnqueue (line 15) | func TestQueueEnqueue(t *testing.T) { function TestQueuePeek (line 38) | func TestQueuePeek(t *testing.T) { function TestQueueDequeue (line 51) | func TestQueueDequeue(t *testing.T) { function TestQueueDequeueFull (line 103) | func TestQueueDequeueFull(t *testing.T) { function TestQueueIteratorOnEmpty (line 154) | func TestQueueIteratorOnEmpty(t *testing.T) { function TestQueueIteratorNext (line 162) | func TestQueueIteratorNext(t *testing.T) { function TestQueueIteratorPrev (line 205) | func TestQueueIteratorPrev(t *testing.T) { function TestQueueIteratorBegin (line 244) | func TestQueueIteratorBegin(t *testing.T) { function TestQueueIteratorEnd (line 260) | func TestQueueIteratorEnd(t *testing.T) { function TestQueueIteratorFirst (line 287) | func TestQueueIteratorFirst(t *testing.T) { function TestQueueIteratorLast (line 304) | func TestQueueIteratorLast(t *testing.T) { function TestQueueIteratorNextTo (line 321) | func TestQueueIteratorNextTo(t *testing.T) { function TestQueueIteratorPrevTo (line 373) | func TestQueueIteratorPrevTo(t *testing.T) { function TestQueueIterator (line 427) | func TestQueueIterator(t *testing.T) { function TestQueueSerialization (line 485) | func TestQueueSerialization(t *testing.T) { function TestQueueString (line 522) | func TestQueueString(t *testing.T) { function benchmarkEnqueue (line 530) | func benchmarkEnqueue(b *testing.B, queue *Queue[int], size int) { function benchmarkDequeue (line 538) | func benchmarkDequeue(b *testing.B, queue *Queue[int], size int) { function BenchmarkArrayQueueDequeue100 (line 546) | func BenchmarkArrayQueueDequeue100(b *testing.B) { function BenchmarkArrayQueueDequeue1000 (line 557) | func BenchmarkArrayQueueDequeue1000(b *testing.B) { function BenchmarkArrayQueueDequeue10000 (line 568) | func BenchmarkArrayQueueDequeue10000(b *testing.B) { function BenchmarkArrayQueueDequeue100000 (line 579) | func BenchmarkArrayQueueDequeue100000(b *testing.B) { function BenchmarkArrayQueueEnqueue100 (line 590) | func BenchmarkArrayQueueEnqueue100(b *testing.B) { function BenchmarkArrayQueueEnqueue1000 (line 598) | func BenchmarkArrayQueueEnqueue1000(b *testing.B) { function BenchmarkArrayQueueEnqueue10000 (line 609) | func BenchmarkArrayQueueEnqueue10000(b *testing.B) { function BenchmarkArrayQueueEnqueue100000 (line 620) | func BenchmarkArrayQueueEnqueue100000(b *testing.B) { FILE: queues/circularbuffer/iterator.go type Iterator (line 13) | type Iterator struct method Iterator (line 19) | func (queue *Queue[T]) Iterator() *Iterator[T] { method Next (line 27) | func (iterator *Iterator[T]) Next() bool { method Prev (line 37) | func (iterator *Iterator[T]) Prev() bool { method Value (line 46) | func (iterator *Iterator[T]) Value() T { method Index (line 54) | func (iterator *Iterator[T]) Index() int { method Begin (line 60) | func (iterator *Iterator[T]) Begin() { method End (line 66) | func (iterator *Iterator[T]) End() { method First (line 73) | func (iterator *Iterator[T]) First() bool { method Last (line 81) | func (iterator *Iterator[T]) Last() bool { method NextTo (line 90) | func (iterator *Iterator[T]) NextTo(f func(index int, value T) bool) bool { method PrevTo (line 104) | func (iterator *Iterator[T]) PrevTo(f func(index int, value T) bool) bool { FILE: queues/circularbuffer/serialization.go method ToJSON (line 18) | func (queue *Queue[T]) ToJSON() ([]byte, error) { method FromJSON (line 23) | func (queue *Queue[T]) FromJSON(data []byte) error { method UnmarshalJSON (line 35) | func (queue *Queue[T]) UnmarshalJSON(bytes []byte) error { method MarshalJSON (line 40) | func (queue *Queue[T]) MarshalJSON() ([]byte, error) { FILE: queues/linkedlistqueue/iterator.go type Iterator (line 13) | type Iterator struct method Iterator (line 19) | func (queue *Queue[T]) Iterator() *Iterator[T] { method Next (line 27) | func (iterator *Iterator[T]) Next() bool { method Value (line 36) | func (iterator *Iterator[T]) Value() T { method Index (line 43) | func (iterator *Iterator[T]) Index() int { method Begin (line 49) | func (iterator *Iterator[T]) Begin() { method First (line 56) | func (iterator *Iterator[T]) First() bool { method NextTo (line 65) | func (iterator *Iterator[T]) NextTo(f func(index int, value T) bool) bool { FILE: queues/linkedlistqueue/linkedlistqueue.go type Queue (line 24) | type Queue struct function New (line 29) | func New[T comparable]() *Queue[T] { method Enqueue (line 34) | func (queue *Queue[T]) Enqueue(value T) { method Dequeue (line 40) | func (queue *Queue[T]) Dequeue() (value T, ok bool) { method Peek (line 50) | func (queue *Queue[T]) Peek() (value T, ok bool) { method Empty (line 55) | func (queue *Queue[T]) Empty() bool { method Size (line 60) | func (queue *Queue[T]) Size() int { method Clear (line 65) | func (queue *Queue[T]) Clear() { method Values (line 70) | func (queue *Queue[T]) Values() []T { method String (line 75) | func (queue *Queue[T]) String() string { method withinRange (line 86) | func (queue *Queue[T]) withinRange(index int) bool { FILE: queues/linkedlistqueue/linkedlistqueue_test.go function TestQueueEnqueue (line 15) | func TestQueueEnqueue(t *testing.T) { function TestQueuePeek (line 38) | func TestQueuePeek(t *testing.T) { function TestQueueDequeue (line 51) | func TestQueueDequeue(t *testing.T) { function TestQueueIteratorOnEmpty (line 77) | func TestQueueIteratorOnEmpty(t *testing.T) { function TestQueueIteratorNext (line 85) | func TestQueueIteratorNext(t *testing.T) { function TestQueueIteratorBegin (line 128) | func TestQueueIteratorBegin(t *testing.T) { function TestQueueIteratorFirst (line 144) | func TestQueueIteratorFirst(t *testing.T) { function TestQueueIteratorNextTo (line 161) | func TestQueueIteratorNextTo(t *testing.T) { function TestQueueSerialization (line 213) | func TestQueueSerialization(t *testing.T) { function TestQueueString (line 250) | func TestQueueString(t *testing.T) { function benchmarkEnqueue (line 258) | func benchmarkEnqueue(b *testing.B, queue *Queue[int], size int) { function benchmarkDequeue (line 266) | func benchmarkDequeue(b *testing.B, queue *Queue[int], size int) { function BenchmarkArrayQueueDequeue100 (line 274) | func BenchmarkArrayQueueDequeue100(b *testing.B) { function BenchmarkArrayQueueDequeue1000 (line 285) | func BenchmarkArrayQueueDequeue1000(b *testing.B) { function BenchmarkArrayQueueDequeue10000 (line 296) | func BenchmarkArrayQueueDequeue10000(b *testing.B) { function BenchmarkArrayQueueDequeue100000 (line 307) | func BenchmarkArrayQueueDequeue100000(b *testing.B) { function BenchmarkArrayQueueEnqueue100 (line 318) | func BenchmarkArrayQueueEnqueue100(b *testing.B) { function BenchmarkArrayQueueEnqueue1000 (line 326) | func BenchmarkArrayQueueEnqueue1000(b *testing.B) { function BenchmarkArrayQueueEnqueue10000 (line 337) | func BenchmarkArrayQueueEnqueue10000(b *testing.B) { function BenchmarkArrayQueueEnqueue100000 (line 348) | func BenchmarkArrayQueueEnqueue100000(b *testing.B) { FILE: queues/linkedlistqueue/serialization.go method ToJSON (line 16) | func (queue *Queue[T]) ToJSON() ([]byte, error) { method FromJSON (line 21) | func (queue *Queue[T]) FromJSON(data []byte) error { method UnmarshalJSON (line 26) | func (queue *Queue[T]) UnmarshalJSON(bytes []byte) error { method MarshalJSON (line 31) | func (queue *Queue[T]) MarshalJSON() ([]byte, error) { FILE: queues/priorityqueue/iterator.go type Iterator (line 16) | type Iterator struct method Iterator (line 21) | func (queue *Queue[T]) Iterator() *Iterator[T] { method Next (line 29) | func (iterator *Iterator[T]) Next() bool { method Prev (line 36) | func (iterator *Iterator[T]) Prev() bool { method Value (line 42) | func (iterator *Iterator[T]) Value() T { method Index (line 48) | func (iterator *Iterator[T]) Index() int { method Begin (line 54) | func (iterator *Iterator[T]) Begin() { method End (line 60) | func (iterator *Iterator[T]) End() { method First (line 67) | func (iterator *Iterator[T]) First() bool { method Last (line 74) | func (iterator *Iterator[T]) Last() bool { method NextTo (line 82) | func (iterator *Iterator[T]) NextTo(f func(index int, value T) bool) bool { method PrevTo (line 90) | func (iterator *Iterator[T]) PrevTo(f func(index int, value T) bool) bool { FILE: queues/priorityqueue/priorityqueue.go type Queue (line 32) | type Queue struct function New (line 37) | func New[T cmp.Ordered]() *Queue[T] { function NewWith (line 42) | func NewWith[T comparable](comparator utils.Comparator[T]) *Queue[T] { method Enqueue (line 47) | func (queue *Queue[T]) Enqueue(value T) { method Dequeue (line 53) | func (queue *Queue[T]) Dequeue() (value T, ok bool) { method Peek (line 59) | func (queue *Queue[T]) Peek() (value T, ok bool) { method Empty (line 64) | func (queue *Queue[T]) Empty() bool { method Size (line 69) | func (queue *Queue[T]) Size() int { method Clear (line 74) | func (queue *Queue[T]) Clear() { method Values (line 79) | func (queue *Queue[T]) Values() []T { method String (line 84) | func (queue *Queue[T]) String() string { FILE: queues/priorityqueue/priorityqueue_test.go type Element (line 16) | type Element struct method String (line 21) | func (element Element) String() string { function byPriority (line 26) | func byPriority(a, b Element) int { function TestBinaryQueueEnqueue (line 30) | func TestBinaryQueueEnqueue(t *testing.T) { function TestBinaryQueueEnqueueBulk (line 77) | func TestBinaryQueueEnqueueBulk(t *testing.T) { function TestBinaryQueueDequeue (line 108) | func TestBinaryQueueDequeue(t *testing.T) { function TestBinaryQueueRandom (line 137) | func TestBinaryQueueRandom(t *testing.T) { function TestBinaryQueueIteratorOnEmpty (line 156) | func TestBinaryQueueIteratorOnEmpty(t *testing.T) { function TestBinaryQueueIteratorNext (line 164) | func TestBinaryQueueIteratorNext(t *testing.T) { function TestBinaryQueueIteratorPrev (line 201) | func TestBinaryQueueIteratorPrev(t *testing.T) { function TestBinaryQueueIteratorBegin (line 240) | func TestBinaryQueueIteratorBegin(t *testing.T) { function TestBinaryQueueIteratorEnd (line 256) | func TestBinaryQueueIteratorEnd(t *testing.T) { function TestBinaryQueueIteratorFirst (line 283) | func TestBinaryQueueIteratorFirst(t *testing.T) { function TestBinaryQueueIteratorLast (line 300) | func TestBinaryQueueIteratorLast(t *testing.T) { function TestBinaryQueueIteratorNextTo (line 317) | func TestBinaryQueueIteratorNextTo(t *testing.T) { function TestBinaryQueueIteratorPrevTo (line 369) | func TestBinaryQueueIteratorPrevTo(t *testing.T) { function TestBinaryQueueSerialization (line 423) | func TestBinaryQueueSerialization(t *testing.T) { function TestBTreeString (line 466) | func TestBTreeString(t *testing.T) { function benchmarkEnqueue (line 474) | func benchmarkEnqueue(b *testing.B, queue *Queue[Element], size int) { function benchmarkDequeue (line 482) | func benchmarkDequeue(b *testing.B, queue *Queue[Element], size int) { function BenchmarkBinaryQueueDequeue100 (line 490) | func BenchmarkBinaryQueueDequeue100(b *testing.B) { function BenchmarkBinaryQueueDequeue1000 (line 501) | func BenchmarkBinaryQueueDequeue1000(b *testing.B) { function BenchmarkBinaryQueueDequeue10000 (line 512) | func BenchmarkBinaryQueueDequeue10000(b *testing.B) { function BenchmarkBinaryQueueDequeue100000 (line 523) | func BenchmarkBinaryQueueDequeue100000(b *testing.B) { function BenchmarkBinaryQueueEnqueue100 (line 534) | func BenchmarkBinaryQueueEnqueue100(b *testing.B) { function BenchmarkBinaryQueueEnqueue1000 (line 542) | func BenchmarkBinaryQueueEnqueue1000(b *testing.B) { function BenchmarkBinaryQueueEnqueue10000 (line 553) | func BenchmarkBinaryQueueEnqueue10000(b *testing.B) { function BenchmarkBinaryQueueEnqueue100000 (line 564) | func BenchmarkBinaryQueueEnqueue100000(b *testing.B) { FILE: queues/priorityqueue/serialization.go method ToJSON (line 16) | func (queue *Queue[T]) ToJSON() ([]byte, error) { method FromJSON (line 21) | func (queue *Queue[T]) FromJSON(data []byte) error { method UnmarshalJSON (line 26) | func (queue *Queue[T]) UnmarshalJSON(bytes []byte) error { method MarshalJSON (line 31) | func (queue *Queue[T]) MarshalJSON() ([]byte, error) { FILE: queues/queues.go type Queue (line 16) | type Queue interface FILE: sets/hashset/hashset.go type Set (line 23) | type Set struct function New (line 30) | func New[T comparable](values ...T) *Set[T] { method Add (line 39) | func (set *Set[T]) Add(items ...T) { method Remove (line 46) | func (set *Set[T]) Remove(items ...T) { method Contains (line 55) | func (set *Set[T]) Contains(items ...T) bool { method Empty (line 65) | func (set *Set[T]) Empty() bool { method Size (line 70) | func (set *Set[T]) Size() int { method Clear (line 75) | func (set *Set[T]) Clear() { method Values (line 80) | func (set *Set[T]) Values() []T { method String (line 91) | func (set *Set[T]) String() string { method Intersection (line 104) | func (set *Set[T]) Intersection(another *Set[T]) *Set[T] { method Union (line 128) | func (set *Set[T]) Union(another *Set[T]) *Set[T] { method Difference (line 144) | func (set *Set[T]) Difference(another *Set[T]) *Set[T] { FILE: sets/hashset/hashset_test.go function TestSetNew (line 13) | func TestSetNew(t *testing.T) { function TestSetAdd (line 30) | func TestSetAdd(t *testing.T) { function TestSetContains (line 45) | func TestSetContains(t *testing.T) { function TestSetRemove (line 64) | func TestSetRemove(t *testing.T) { function TestSetSerialization (line 84) | func TestSetSerialization(t *testing.T) { function TestSetString (line 121) | func TestSetString(t *testing.T) { function TestSetIntersection (line 129) | func TestSetIntersection(t *testing.T) { function TestSetUnion (line 151) | func TestSetUnion(t *testing.T) { function TestSetDifference (line 173) | func TestSetDifference(t *testing.T) { function benchmarkContains (line 195) | func benchmarkContains(b *testing.B, set *Set[int], size int) { function benchmarkAdd (line 203) | func benchmarkAdd(b *testing.B, set *Set[int], size int) { function benchmarkRemove (line 211) | func benchmarkRemove(b *testing.B, set *Set[int], size int) { function BenchmarkHashSetContains100 (line 219) | func BenchmarkHashSetContains100(b *testing.B) { function BenchmarkHashSetContains1000 (line 230) | func BenchmarkHashSetContains1000(b *testing.B) { function BenchmarkHashSetContains10000 (line 241) | func BenchmarkHashSetContains10000(b *testing.B) { function BenchmarkHashSetContains100000 (line 252) | func BenchmarkHashSetContains100000(b *testing.B) { function BenchmarkHashSetAdd100 (line 263) | func BenchmarkHashSetAdd100(b *testing.B) { function BenchmarkHashSetAdd1000 (line 271) | func BenchmarkHashSetAdd1000(b *testing.B) { function BenchmarkHashSetAdd10000 (line 282) | func BenchmarkHashSetAdd10000(b *testing.B) { function BenchmarkHashSetAdd100000 (line 293) | func BenchmarkHashSetAdd100000(b *testing.B) { function BenchmarkHashSetRemove100 (line 304) | func BenchmarkHashSetRemove100(b *testing.B) { function BenchmarkHashSetRemove1000 (line 315) | func BenchmarkHashSetRemove1000(b *testing.B) { function BenchmarkHashSetRemove10000 (line 326) | func BenchmarkHashSetRemove10000(b *testing.B) { function BenchmarkHashSetRemove100000 (line 337) | func BenchmarkHashSetRemove100000(b *testing.B) { FILE: sets/hashset/serialization.go method ToJSON (line 18) | func (set *Set[T]) ToJSON() ([]byte, error) { method FromJSON (line 23) | func (set *Set[T]) FromJSON(data []byte) error { method UnmarshalJSON (line 34) | func (set *Set[T]) UnmarshalJSON(bytes []byte) error { method MarshalJSON (line 39) | func (set *Set[T]) MarshalJSON() ([]byte, error) { FILE: sets/linkedhashset/enumerable.go method Each (line 13) | func (set *Set[T]) Each(f func(index int, value T)) { method Map (line 22) | func (set *Set[T]) Map(f func(index int, value T) T) *Set[T] { method Select (line 32) | func (set *Set[T]) Select(f func(index int, value T) bool) *Set[T] { method Any (line 45) | func (set *Set[T]) Any(f func(index int, value T) bool) bool { method All (line 57) | func (set *Set[T]) All(f func(index int, value T) bool) bool { method Find (line 70) | func (set *Set[T]) Find(f func(index int, value T) bool) (int, T) { FILE: sets/linkedhashset/iterator.go type Iterator (line 16) | type Iterator struct method Iterator (line 21) | func (set *Set[T]) Iterator() Iterator[T] { method Next (line 29) | func (iterator *Iterator[T]) Next() bool { method Prev (line 36) | func (iterator *Iterator[T]) Prev() bool { method Value (line 42) | func (iterator *Iterator[T]) Value() T { method Index (line 48) | func (iterator *Iterator[T]) Index() int { method Begin (line 54) | func (iterator *Iterator[T]) Begin() { method End (line 60) | func (iterator *Iterator[T]) End() { method First (line 67) | func (iterator *Iterator[T]) First() bool { method Last (line 74) | func (iterator *Iterator[T]) Last() bool { method NextTo (line 82) | func (iterator *Iterator[T]) NextTo(f func(index int, value T) bool) bool { method PrevTo (line 96) | func (iterator *Iterator[T]) PrevTo(f func(index int, value T) bool) bool { FILE: sets/linkedhashset/linkedhashset.go type Set (line 28) | type Set struct function New (line 36) | func New[T comparable](values ...T) *Set[T] { method Add (line 49) | func (set *Set[T]) Add(items ...T) { method Remove (line 60) | func (set *Set[T]) Remove(items ...T) { method Contains (line 73) | func (set *Set[T]) Contains(items ...T) bool { method Empty (line 83) | func (set *Set[T]) Empty() bool { method Size (line 88) | func (set *Set[T]) Size() int { method Clear (line 93) | func (set *Set[T]) Clear() { method Values (line 99) | func (set *Set[T]) Values() []T { method String (line 109) | func (set *Set[T]) String() string { method Intersection (line 123) | func (set *Set[T]) Intersection(another *Set[T]) *Set[T] { method Union (line 147) | func (set *Set[T]) Union(another *Set[T]) *Set[T] { method Difference (line 163) | func (set *Set[T]) Difference(another *Set[T]) *Set[T] { FILE: sets/linkedhashset/linkedhashset_test.go function TestSetNew (line 14) | func TestSetNew(t *testing.T) { function TestSetAdd (line 31) | func TestSetAdd(t *testing.T) { function TestSetContains (line 46) | func TestSetContains(t *testing.T) { function TestSetRemove (line 65) | func TestSetRemove(t *testing.T) { function TestSetEach (line 85) | func TestSetEach(t *testing.T) { function TestSetMap (line 108) | func TestSetMap(t *testing.T) { function TestSetSelect (line 125) | func TestSetSelect(t *testing.T) { function TestSetAny (line 143) | func TestSetAny(t *testing.T) { function TestSetAll (line 160) | func TestSetAll(t *testing.T) { function TestSetFind (line 177) | func TestSetFind(t *testing.T) { function TestSetChaining (line 194) | func TestSetChaining(t *testing.T) { function TestSetIteratorPrevOnEmpty (line 199) | func TestSetIteratorPrevOnEmpty(t *testing.T) { function TestSetIteratorNext (line 207) | func TestSetIteratorNext(t *testing.T) { function TestSetIteratorPrev (line 241) | func TestSetIteratorPrev(t *testing.T) { function TestSetIteratorBegin (line 277) | func TestSetIteratorBegin(t *testing.T) { function TestSetIteratorEnd (line 291) | func TestSetIteratorEnd(t *testing.T) { function TestSetIteratorFirst (line 316) | func TestSetIteratorFirst(t *testing.T) { function TestSetIteratorLast (line 328) | func TestSetIteratorLast(t *testing.T) { function TestSetIteratorNextTo (line 340) | func TestSetIteratorNextTo(t *testing.T) { function TestSetIteratorPrevTo (line 389) | func TestSetIteratorPrevTo(t *testing.T) { function TestSetSerialization (line 440) | func TestSetSerialization(t *testing.T) { function TestSetString (line 477) | func TestSetString(t *testing.T) { function TestSetIntersection (line 485) | func TestSetIntersection(t *testing.T) { function TestSetUnion (line 507) | func TestSetUnion(t *testing.T) { function TestSetDifference (line 529) | func TestSetDifference(t *testing.T) { function benchmarkContains (line 551) | func benchmarkContains(b *testing.B, set *Set[int], size int) { function benchmarkAdd (line 559) | func benchmarkAdd(b *testing.B, set *Set[int], size int) { function benchmarkRemove (line 567) | func benchmarkRemove(b *testing.B, set *Set[int], size int) { function BenchmarkHashSetContains100 (line 575) | func BenchmarkHashSetContains100(b *testing.B) { function BenchmarkHashSetContains1000 (line 586) | func BenchmarkHashSetContains1000(b *testing.B) { function BenchmarkHashSetContains10000 (line 597) | func BenchmarkHashSetContains10000(b *testing.B) { function BenchmarkHashSetContains100000 (line 608) | func BenchmarkHashSetContains100000(b *testing.B) { function BenchmarkHashSetAdd100 (line 619) | func BenchmarkHashSetAdd100(b *testing.B) { function BenchmarkHashSetAdd1000 (line 627) | func BenchmarkHashSetAdd1000(b *testing.B) { function BenchmarkHashSetAdd10000 (line 638) | func BenchmarkHashSetAdd10000(b *testing.B) { function BenchmarkHashSetAdd100000 (line 649) | func BenchmarkHashSetAdd100000(b *testing.B) { function BenchmarkHashSetRemove100 (line 660) | func BenchmarkHashSetRemove100(b *testing.B) { function BenchmarkHashSetRemove1000 (line 671) | func BenchmarkHashSetRemove1000(b *testing.B) { function BenchmarkHashSetRemove10000 (line 682) | func BenchmarkHashSetRemove10000(b *testing.B) { function BenchmarkHashSetRemove100000 (line 693) | func BenchmarkHashSetRemove100000(b *testing.B) { FILE: sets/linkedhashset/serialization.go method ToJSON (line 18) | func (set *Set[T]) ToJSON() ([]byte, error) { method FromJSON (line 23) | func (set *Set[T]) FromJSON(data []byte) error { method UnmarshalJSON (line 34) | func (set *Set[T]) UnmarshalJSON(bytes []byte) error { method MarshalJSON (line 39) | func (set *Set[T]) MarshalJSON() ([]byte, error) { FILE: sets/sets.go type Set (line 17) | type Set interface FILE: sets/treeset/enumerable.go method Each (line 16) | func (set *Set[T]) Each(f func(index int, value T)) { method Map (line 25) | func (set *Set[T]) Map(f func(index int, value T) T) *Set[T] { method Select (line 35) | func (set *Set[T]) Select(f func(index int, value T) bool) *Set[T] { method Any (line 48) | func (set *Set[T]) Any(f func(index int, value T) bool) bool { method All (line 60) | func (set *Set[T]) All(f func(index int, value T) bool) bool { method Find (line 73) | func (set *Set[T]) Find(f func(index int, value T) bool) (int, T) { FILE: sets/treeset/iterator.go type Iterator (line 16) | type Iterator struct method Iterator (line 23) | func (set *Set[T]) Iterator() Iterator[T] { method Next (line 31) | func (iterator *Iterator[T]) Next() bool { method Prev (line 41) | func (iterator *Iterator[T]) Prev() bool { method Value (line 50) | func (iterator *Iterator[T]) Value() T { method Index (line 56) | func (iterator *Iterator[T]) Index() int { method Begin (line 62) | func (iterator *Iterator[T]) Begin() { method End (line 69) | func (iterator *Iterator[T]) End() { method First (line 77) | func (iterator *Iterator[T]) First() bool { method Last (line 85) | func (iterator *Iterator[T]) Last() bool { method NextTo (line 94) | func (iterator *Iterator[T]) NextTo(f func(index int, value T) bool) bool { method PrevTo (line 108) | func (iterator *Iterator[T]) PrevTo(f func(index int, value T) bool) bool { FILE: sets/treeset/serialization.go method ToJSON (line 18) | func (set *Set[T]) ToJSON() ([]byte, error) { method FromJSON (line 23) | func (set *Set[T]) FromJSON(data []byte) error { method UnmarshalJSON (line 34) | func (set *Set[T]) UnmarshalJSON(bytes []byte) error { method MarshalJSON (line 39) | func (set *Set[T]) MarshalJSON() ([]byte, error) { FILE: sets/treeset/treeset.go type Set (line 27) | type Set struct function New (line 33) | func New[T cmp.Ordered](values ...T) *Set[T] { function NewWith (line 38) | func NewWith[T comparable](comparator utils.Comparator[T], values ...T) ... method Add (line 47) | func (set *Set[T]) Add(items ...T) { method Remove (line 54) | func (set *Set[T]) Remove(items ...T) { method Contains (line 63) | func (set *Set[T]) Contains(items ...T) bool { method Empty (line 73) | func (set *Set[T]) Empty() bool { method Size (line 78) | func (set *Set[T]) Size() int { method Clear (line 83) | func (set *Set[T]) Clear() { method Values (line 88) | func (set *Set[T]) Values() []T { method String (line 93) | func (set *Set[T]) String() string { method Intersection (line 107) | func (set *Set[T]) Intersection(another *Set[T]) *Set[T] { method Union (line 138) | func (set *Set[T]) Union(another *Set[T]) *Set[T] { method Difference (line 161) | func (set *Set[T]) Difference(another *Set[T]) *Set[T] { FILE: sets/treeset/treeset_test.go function TestSetNew (line 16) | func TestSetNew(t *testing.T) { function TestSetAdd (line 30) | func TestSetAdd(t *testing.T) { function TestSetContains (line 46) | func TestSetContains(t *testing.T) { function TestSetRemove (line 63) | func TestSetRemove(t *testing.T) { function TestSetEach (line 83) | func TestSetEach(t *testing.T) { function TestSetMap (line 106) | func TestSetMap(t *testing.T) { function TestSetSelect (line 123) | func TestSetSelect(t *testing.T) { function TestSetAny (line 141) | func TestSetAny(t *testing.T) { function TestSetAll (line 158) | func TestSetAll(t *testing.T) { function TestSetFind (line 175) | func TestSetFind(t *testing.T) { function TestSetChaining (line 192) | func TestSetChaining(t *testing.T) { function TestSetIteratorNextOnEmpty (line 197) | func TestSetIteratorNextOnEmpty(t *testing.T) { function TestSetIteratorPrevOnEmpty (line 205) | func TestSetIteratorPrevOnEmpty(t *testing.T) { function TestSetIteratorNext (line 213) | func TestSetIteratorNext(t *testing.T) { function TestSetIteratorPrev (line 247) | func TestSetIteratorPrev(t *testing.T) { function TestSetIteratorBegin (line 283) | func TestSetIteratorBegin(t *testing.T) { function TestSetIteratorEnd (line 297) | func TestSetIteratorEnd(t *testing.T) { function TestSetIteratorFirst (line 322) | func TestSetIteratorFirst(t *testing.T) { function TestSetIteratorLast (line 334) | func TestSetIteratorLast(t *testing.T) { function TestSetIteratorNextTo (line 346) | func TestSetIteratorNextTo(t *testing.T) { function TestSetIteratorPrevTo (line 395) | func TestSetIteratorPrevTo(t *testing.T) { function TestSetSerialization (line 446) | func TestSetSerialization(t *testing.T) { function TestSetString (line 482) | func TestSetString(t *testing.T) { function TestSetIntersection (line 490) | func TestSetIntersection(t *testing.T) { function TestSetUnion (line 512) | func TestSetUnion(t *testing.T) { function TestSetDifference (line 534) | func TestSetDifference(t *testing.T) { function benchmarkContains (line 556) | func benchmarkContains(b *testing.B, set *Set[int], size int) { function benchmarkAdd (line 564) | func benchmarkAdd(b *testing.B, set *Set[int], size int) { function benchmarkRemove (line 572) | func benchmarkRemove(b *testing.B, set *Set[int], size int) { function BenchmarkTreeSetContains100 (line 580) | func BenchmarkTreeSetContains100(b *testing.B) { function BenchmarkTreeSetContains1000 (line 591) | func BenchmarkTreeSetContains1000(b *testing.B) { function BenchmarkTreeSetContains10000 (line 602) | func BenchmarkTreeSetContains10000(b *testing.B) { function BenchmarkTreeSetContains100000 (line 613) | func BenchmarkTreeSetContains100000(b *testing.B) { function BenchmarkTreeSetAdd100 (line 624) | func BenchmarkTreeSetAdd100(b *testing.B) { function BenchmarkTreeSetAdd1000 (line 632) | func BenchmarkTreeSetAdd1000(b *testing.B) { function BenchmarkTreeSetAdd10000 (line 643) | func BenchmarkTreeSetAdd10000(b *testing.B) { function BenchmarkTreeSetAdd100000 (line 654) | func BenchmarkTreeSetAdd100000(b *testing.B) { function BenchmarkTreeSetRemove100 (line 665) | func BenchmarkTreeSetRemove100(b *testing.B) { function BenchmarkTreeSetRemove1000 (line 676) | func BenchmarkTreeSetRemove1000(b *testing.B) { function BenchmarkTreeSetRemove10000 (line 687) | func BenchmarkTreeSetRemove10000(b *testing.B) { function BenchmarkTreeSetRemove100000 (line 698) | func BenchmarkTreeSetRemove100000(b *testing.B) { FILE: stacks/arraystack/arraystack.go type Stack (line 24) | type Stack struct function New (line 29) | func New[T comparable]() *Stack[T] { method Push (line 34) | func (stack *Stack[T]) Push(value T) { method Pop (line 40) | func (stack *Stack[T]) Pop() (value T, ok bool) { method Peek (line 48) | func (stack *Stack[T]) Peek() (value T, ok bool) { method Empty (line 53) | func (stack *Stack[T]) Empty() bool { method Size (line 58) | func (stack *Stack[T]) Size() int { method Clear (line 63) | func (stack *Stack[T]) Clear() { method Values (line 68) | func (stack *Stack[T]) Values() []T { method String (line 78) | func (stack *Stack[T]) String() string { method withinRange (line 89) | func (stack *Stack[T]) withinRange(index int) bool { FILE: stacks/arraystack/arraystack_test.go function TestStackPush (line 15) | func TestStackPush(t *testing.T) { function TestStackPeek (line 38) | func TestStackPeek(t *testing.T) { function TestStackPop (line 51) | func TestStackPop(t *testing.T) { function TestStackIteratorOnEmpty (line 77) | func TestStackIteratorOnEmpty(t *testing.T) { function TestStackIteratorNext (line 85) | func TestStackIteratorNext(t *testing.T) { function TestStackIteratorPrev (line 128) | func TestStackIteratorPrev(t *testing.T) { function TestStackIteratorBegin (line 167) | func TestStackIteratorBegin(t *testing.T) { function TestStackIteratorEnd (line 183) | func TestStackIteratorEnd(t *testing.T) { function TestStackIteratorFirst (line 210) | func TestStackIteratorFirst(t *testing.T) { function TestStackIteratorLast (line 227) | func TestStackIteratorLast(t *testing.T) { function TestStackIteratorNextTo (line 244) | func TestStackIteratorNextTo(t *testing.T) { function TestStackIteratorPrevTo (line 296) | func TestStackIteratorPrevTo(t *testing.T) { function TestStackSerialization (line 350) | func TestStackSerialization(t *testing.T) { function TestStackString (line 387) | func TestStackString(t *testing.T) { function benchmarkPush (line 395) | func benchmarkPush(b *testing.B, stack *Stack[int], size int) { function benchmarkPop (line 403) | func benchmarkPop(b *testing.B, stack *Stack[int], size int) { function BenchmarkArrayStackPop100 (line 411) | func BenchmarkArrayStackPop100(b *testing.B) { function BenchmarkArrayStackPop1000 (line 422) | func BenchmarkArrayStackPop1000(b *testing.B) { function BenchmarkArrayStackPop10000 (line 433) | func BenchmarkArrayStackPop10000(b *testing.B) { function BenchmarkArrayStackPop100000 (line 444) | func BenchmarkArrayStackPop100000(b *testing.B) { function BenchmarkArrayStackPush100 (line 455) | func BenchmarkArrayStackPush100(b *testing.B) { function BenchmarkArrayStackPush1000 (line 463) | func BenchmarkArrayStackPush1000(b *testing.B) { function BenchmarkArrayStackPush10000 (line 474) | func BenchmarkArrayStackPush10000(b *testing.B) { function BenchmarkArrayStackPush100000 (line 485) | func BenchmarkArrayStackPush100000(b *testing.B) { FILE: stacks/arraystack/iterator.go type Iterator (line 13) | type Iterator struct method Iterator (line 19) | func (stack *Stack[T]) Iterator() *Iterator[T] { method Next (line 27) | func (iterator *Iterator[T]) Next() bool { method Prev (line 37) | func (iterator *Iterator[T]) Prev() bool { method Value (line 46) | func (iterator *Iterator[T]) Value() T { method Index (line 53) | func (iterator *Iterator[T]) Index() int { method Begin (line 59) | func (iterator *Iterator[T]) Begin() { method End (line 65) | func (iterator *Iterator[T]) End() { method First (line 72) | func (iterator *Iterator[T]) First() bool { method Last (line 80) | func (iterator *Iterator[T]) Last() bool { method NextTo (line 89) | func (iterator *Iterator[T]) NextTo(f func(index int, value T) bool) bool { method PrevTo (line 103) | func (iterator *Iterator[T]) PrevTo(f func(index int, value T) bool) bool { FILE: stacks/arraystack/serialization.go method ToJSON (line 16) | func (stack *Stack[T]) ToJSON() ([]byte, error) { method FromJSON (line 21) | func (stack *Stack[T]) FromJSON(data []byte) error { method UnmarshalJSON (line 26) | func (stack *Stack[T]) UnmarshalJSON(bytes []byte) error { method MarshalJSON (line 31) | func (stack *Stack[T]) MarshalJSON() ([]byte, error) { FILE: stacks/linkedliststack/iterator.go type Iterator (line 13) | type Iterator struct method Iterator (line 19) | func (stack *Stack[T]) Iterator() *Iterator[T] { method Next (line 27) | func (iterator *Iterator[T]) Next() bool { method Value (line 36) | func (iterator *Iterator[T]) Value() T { method Index (line 43) | func (iterator *Iterator[T]) Index() int { method Begin (line 49) | func (iterator *Iterator[T]) Begin() { method First (line 56) | func (iterator *Iterator[T]) First() bool { method NextTo (line 65) | func (iterator *Iterator[T]) NextTo(f func(index int, value T) bool) bool { FILE: stacks/linkedliststack/linkedliststack.go type Stack (line 24) | type Stack struct function New (line 29) | func New[T comparable]() *Stack[T] { method Push (line 34) | func (stack *Stack[T]) Push(value T) { method Pop (line 40) | func (stack *Stack[T]) Pop() (value T, ok bool) { method Peek (line 48) | func (stack *Stack[T]) Peek() (value T, ok bool) { method Empty (line 53) | func (stack *Stack[T]) Empty() bool { method Size (line 58) | func (stack *Stack[T]) Size() int { method Clear (line 63) | func (stack *Stack[T]) Clear() { method Values (line 68) | func (stack *Stack[T]) Values() []T { method String (line 73) | func (stack *Stack[T]) String() string { method withinRange (line 84) | func (stack *Stack[T]) withinRange(index int) bool { FILE: stacks/linkedliststack/linkedliststack_test.go function TestStackPush (line 15) | func TestStackPush(t *testing.T) { function TestStackPeek (line 38) | func TestStackPeek(t *testing.T) { function TestStackPop (line 51) | func TestStackPop(t *testing.T) { function TestStackIterator (line 77) | func TestStackIterator(t *testing.T) { function TestStackIteratorBegin (line 121) | func TestStackIteratorBegin(t *testing.T) { function TestStackIteratorFirst (line 137) | func TestStackIteratorFirst(t *testing.T) { function TestStackIteratorNextTo (line 154) | func TestStackIteratorNextTo(t *testing.T) { function TestStackSerialization (line 206) | func TestStackSerialization(t *testing.T) { function TestStackString (line 243) | func TestStackString(t *testing.T) { function benchmarkPush (line 251) | func benchmarkPush(b *testing.B, stack *Stack[int], size int) { function benchmarkPop (line 259) | func benchmarkPop(b *testing.B, stack *Stack[int], size int) { function BenchmarkLinkedListStackPop100 (line 267) | func BenchmarkLinkedListStackPop100(b *testing.B) { function BenchmarkLinkedListStackPop1000 (line 278) | func BenchmarkLinkedListStackPop1000(b *testing.B) { function BenchmarkLinkedListStackPop10000 (line 289) | func BenchmarkLinkedListStackPop10000(b *testing.B) { function BenchmarkLinkedListStackPop100000 (line 300) | func BenchmarkLinkedListStackPop100000(b *testing.B) { function BenchmarkLinkedListStackPush100 (line 311) | func BenchmarkLinkedListStackPush100(b *testing.B) { function BenchmarkLinkedListStackPush1000 (line 319) | func BenchmarkLinkedListStackPush1000(b *testing.B) { function BenchmarkLinkedListStackPush10000 (line 330) | func BenchmarkLinkedListStackPush10000(b *testing.B) { function BenchmarkLinkedListStackPush100000 (line 341) | func BenchmarkLinkedListStackPush100000(b *testing.B) { FILE: stacks/linkedliststack/serialization.go method ToJSON (line 16) | func (stack *Stack[T]) ToJSON() ([]byte, error) { method FromJSON (line 21) | func (stack *Stack[T]) FromJSON(data []byte) error { method UnmarshalJSON (line 26) | func (stack *Stack[T]) UnmarshalJSON(bytes []byte) error { method MarshalJSON (line 31) | func (stack *Stack[T]) MarshalJSON() ([]byte, error) { FILE: stacks/stacks.go type Stack (line 15) | type Stack interface FILE: testutils/testutils.go function SameElements (line 5) | func SameElements[T comparable](t *testing.T, actual, expected []T) { FILE: trees/avltree/avltree.go type Tree (line 24) | type Tree struct type Node (line 31) | type Node struct function New (line 40) | func New[K cmp.Ordered, V any]() *Tree[K, V] { function NewWith (line 45) | func NewWith[K comparable, V any](comparator utils.Comparator[K]) *Tree[... method Put (line 51) | func (tree *Tree[K, V]) Put(key K, value V) { method Get (line 58) | func (tree *Tree[K, V]) Get(key K) (value V, found bool) { method GetNode (line 68) | func (tree *Tree[K, V]) GetNode(key K) *Node[K, V] { method Remove (line 86) | func (tree *Tree[K, V]) Remove(key K) { method Empty (line 91) | func (tree *Tree[K, V]) Empty() bool { method Size (line 96) | func (tree *Tree[K, V]) Size() int { method Size (line 102) | func (n *Node[K, V]) Size() int { method Keys (line 117) | func (tree *Tree[K, V]) Keys() []K { method Values (line 127) | func (tree *Tree[K, V]) Values() []V { method Left (line 138) | func (tree *Tree[K, V]) Left() *Node[K, V] { method Right (line 144) | func (tree *Tree[K, V]) Right() *Node[K, V] { method Floor (line 156) | func (tree *Tree[K, V]) Floor(key K) (floor *Node[K, V], found bool) { method Ceiling (line 185) | func (tree *Tree[K, V]) Ceiling(key K) (floor *Node[K, V], found bool) { method Clear (line 207) | func (tree *Tree[K, V]) Clear() { method String (line 213) | func (tree *Tree[K, V]) String() string { method String (line 221) | func (n *Node[K, V]) String() string { method put (line 225) | func (tree *Tree[K, V]) put(key K, value V, p *Node[K, V], qp **Node[K, ... method remove (line 254) | func (tree *Tree[K, V]) remove(key K, qp **Node[K, V]) bool { function removeMin (line 290) | func removeMin[K comparable, V any](qp **Node[K, V], minKey *K, minVal *... function putFix (line 308) | func putFix[K comparable, V any](c int8, t **Node[K, V]) bool { function removeFix (line 329) | func removeFix[K comparable, V any](c int8, t **Node[K, V]) bool { function singlerot (line 358) | func singlerot[K comparable, V any](c int8, s *Node[K, V]) *Node[K, V] { function doublerot (line 365) | func doublerot[K comparable, V any](c int8, s *Node[K, V]) *Node[K, V] { function rotate (line 387) | func rotate[K comparable, V any](c int8, s *Node[K, V]) *Node[K, V] { method bottom (line 400) | func (tree *Tree[K, V]) bottom(d int) *Node[K, V] { method Prev (line 414) | func (n *Node[K, V]) Prev() *Node[K, V] { method Next (line 420) | func (n *Node[K, V]) Next() *Node[K, V] { method walk1 (line 424) | func (n *Node[K, V]) walk1(a int) *Node[K, V] { function output (line 445) | func output[K comparable, V any](node *Node[K, V], prefix string, isTail... FILE: trees/avltree/avltree_test.go function TestAVLTreeGet (line 13) | func TestAVLTreeGet(t *testing.T) { function TestAVLTreePut (line 57) | func TestAVLTreePut(t *testing.T) { function TestAVLTreeRemove (line 98) | func TestAVLTreeRemove(t *testing.T) { function TestAVLTreeLeftAndRight (line 162) | func TestAVLTreeLeftAndRight(t *testing.T) { function TestAVLTreeCeilingAndFloor (line 196) | func TestAVLTreeCeilingAndFloor(t *testing.T) { function TestAVLTreeIteratorNextOnEmpty (line 229) | func TestAVLTreeIteratorNextOnEmpty(t *testing.T) { function TestAVLTreeIteratorPrevOnEmpty (line 237) | func TestAVLTreeIteratorPrevOnEmpty(t *testing.T) { function TestAVLTreeIterator1Next (line 245) | func TestAVLTreeIterator1Next(t *testing.T) { function TestAVLTreeIterator1Prev (line 277) | func TestAVLTreeIterator1Prev(t *testing.T) { function TestAVLTreeIterator2Next (line 310) | func TestAVLTreeIterator2Next(t *testing.T) { function TestAVLTreeIterator2Prev (line 329) | func TestAVLTreeIterator2Prev(t *testing.T) { function TestAVLTreeIterator3Next (line 350) | func TestAVLTreeIterator3Next(t *testing.T) { function TestAVLTreeIterator3Prev (line 367) | func TestAVLTreeIterator3Prev(t *testing.T) { function TestAVLTreeIterator4Next (line 386) | func TestAVLTreeIterator4Next(t *testing.T) { function TestAVLTreeIterator4Prev (line 422) | func TestAVLTreeIterator4Prev(t *testing.T) { function TestAVLTreeIteratorBegin (line 460) | func TestAVLTreeIteratorBegin(t *testing.T) { function TestAVLTreeIteratorEnd (line 492) | func TestAVLTreeIteratorEnd(t *testing.T) { function TestAVLTreeIteratorFirst (line 519) | func TestAVLTreeIteratorFirst(t *testing.T) { function TestAVLTreeIteratorLast (line 533) | func TestAVLTreeIteratorLast(t *testing.T) { function TestAVLTreeIteratorNextTo (line 547) | func TestAVLTreeIteratorNextTo(t *testing.T) { function TestAVLTreeIteratorPrevTo (line 599) | func TestAVLTreeIteratorPrevTo(t *testing.T) { function TestAVLTreeSerialization (line 653) | func TestAVLTreeSerialization(t *testing.T) { function TestAVLTreeString (line 704) | func TestAVLTreeString(t *testing.T) { function benchmarkGet (line 720) | func benchmarkGet(b *testing.B, tree *Tree[int, struct{}], size int) { function benchmarkPut (line 728) | func benchmarkPut(b *testing.B, tree *Tree[int, struct{}], size int) { function benchmarkRemove (line 736) | func benchmarkRemove(b *testing.B, tree *Tree[int, struct{}], size int) { function BenchmarkAVLTreeGet100 (line 744) | func BenchmarkAVLTreeGet100(b *testing.B) { function BenchmarkAVLTreeGet1000 (line 755) | func BenchmarkAVLTreeGet1000(b *testing.B) { function BenchmarkAVLTreeGet10000 (line 766) | func BenchmarkAVLTreeGet10000(b *testing.B) { function BenchmarkAVLTreeGet100000 (line 777) | func BenchmarkAVLTreeGet100000(b *testing.B) { function BenchmarkAVLTreePut100 (line 788) | func BenchmarkAVLTreePut100(b *testing.B) { function BenchmarkAVLTreePut1000 (line 796) | func BenchmarkAVLTreePut1000(b *testing.B) { function BenchmarkAVLTreePut10000 (line 807) | func BenchmarkAVLTreePut10000(b *testing.B) { function BenchmarkAVLTreePut100000 (line 818) | func BenchmarkAVLTreePut100000(b *testing.B) { function BenchmarkAVLTreeRemove100 (line 829) | func BenchmarkAVLTreeRemove100(b *testing.B) { function BenchmarkAVLTreeRemove1000 (line 840) | func BenchmarkAVLTreeRemove1000(b *testing.B) { function BenchmarkAVLTreeRemove10000 (line 851) | func BenchmarkAVLTreeRemove10000(b *testing.B) { function BenchmarkAVLTreeRemove100000 (line 862) | func BenchmarkAVLTreeRemove100000(b *testing.B) { FILE: trees/avltree/iterator.go type Iterator (line 13) | type Iterator struct type position (line 19) | type position constant begin (line 22) | begin, between, end position = 0, 1, 2 method Iterator (line 26) | func (tree *Tree[K, V]) Iterator() *Iterator[K, V] { method Next (line 34) | func (iterator *Iterator[K, V]) Next() bool { method Prev (line 54) | func (iterator *Iterator[K, V]) Prev() bool { method Value (line 72) | func (iterator *Iterator[K, V]) Value() (v V) { method Key (line 81) | func (iterator *Iterator[K, V]) Key() (k K) { method Node (line 90) | func (iterator *Iterator[K, V]) Node() *Node[K, V] { method Begin (line 96) | func (iterator *Iterator[K, V]) Begin() { method End (line 103) | func (iterator *Iterator[K, V]) End() { method First (line 111) | func (iterator *Iterator[K, V]) First() bool { method Last (line 119) | func (iterator *Iterator[K, V]) Last() bool { method NextTo (line 128) | func (iterator *Iterator[K, V]) NextTo(f func(key K, value V) bool) bool { method PrevTo (line 142) | func (iterator *Iterator[K, V]) PrevTo(f func(key K, value V) bool) bool { FILE: trees/avltree/serialization.go method ToJSON (line 18) | func (tree *Tree[K, V]) ToJSON() ([]byte, error) { method FromJSON (line 28) | func (tree *Tree[K, V]) FromJSON(data []byte) error { method UnmarshalJSON (line 44) | func (tree *Tree[K, V]) UnmarshalJSON(bytes []byte) error { method MarshalJSON (line 49) | func (tree *Tree[K, V]) MarshalJSON() ([]byte, error) { FILE: trees/binaryheap/binaryheap.go type Heap (line 28) | type Heap struct function New (line 34) | func New[T cmp.Ordered]() *Heap[T] { function NewWith (line 39) | func NewWith[T comparable](comparator utils.Comparator[T]) *Heap[T] { method Push (line 44) | func (heap *Heap[T]) Push(values ...T) { method Pop (line 62) | func (heap *Heap[T]) Pop() (value T, ok bool) { method Peek (line 76) | func (heap *Heap[T]) Peek() (value T, ok bool) { method Empty (line 81) | func (heap *Heap[T]) Empty() bool { method Size (line 86) | func (heap *Heap[T]) Size() int { method Clear (line 91) | func (heap *Heap[T]) Clear() { method Values (line 96) | func (heap *Heap[T]) Values() []T { method String (line 105) | func (heap *Heap[T]) String() string { method bubbleDown (line 117) | func (heap *Heap[T]) bubbleDown() { method bubbleDownIndex (line 123) | func (heap *Heap[T]) bubbleDownIndex(index int) { method bubbleUp (line 147) | func (heap *Heap[T]) bubbleUp() { method withinRange (line 161) | func (heap *Heap[T]) withinRange(index int) bool { FILE: trees/binaryheap/binaryheap_test.go function TestBinaryHeapPush (line 15) | func TestBinaryHeapPush(t *testing.T) { function TestBinaryHeapPushBulk (line 40) | func TestBinaryHeapPushBulk(t *testing.T) { function TestBinaryHeapPop (line 53) | func TestBinaryHeapPop(t *testing.T) { function TestBinaryHeapRandom (line 85) | func TestBinaryHeapRandom(t *testing.T) { function TestBinaryHeapIteratorOnEmpty (line 104) | func TestBinaryHeapIteratorOnEmpty(t *testing.T) { function TestBinaryHeapIteratorNext (line 112) | func TestBinaryHeapIteratorNext(t *testing.T) { function TestBinaryHeapIteratorPrev (line 149) | func TestBinaryHeapIteratorPrev(t *testing.T) { function TestBinaryHeapIteratorBegin (line 188) | func TestBinaryHeapIteratorBegin(t *testing.T) { function TestBinaryHeapIteratorEnd (line 204) | func TestBinaryHeapIteratorEnd(t *testing.T) { function TestBinaryHeapIteratorFirst (line 231) | func TestBinaryHeapIteratorFirst(t *testing.T) { function TestBinaryHeapIteratorLast (line 248) | func TestBinaryHeapIteratorLast(t *testing.T) { function TestBinaryHeapIteratorNextTo (line 265) | func TestBinaryHeapIteratorNextTo(t *testing.T) { function TestBinaryHeapIteratorPrevTo (line 317) | func TestBinaryHeapIteratorPrevTo(t *testing.T) { function TestBinaryHeapSerialization (line 371) | func TestBinaryHeapSerialization(t *testing.T) { function TestBTreeString (line 417) | func TestBTreeString(t *testing.T) { function benchmarkPush (line 425) | func benchmarkPush(b *testing.B, heap *Heap[int], size int) { function benchmarkPop (line 433) | func benchmarkPop(b *testing.B, heap *Heap[int], size int) { function BenchmarkBinaryHeapPop100 (line 441) | func BenchmarkBinaryHeapPop100(b *testing.B) { function BenchmarkBinaryHeapPop1000 (line 452) | func BenchmarkBinaryHeapPop1000(b *testing.B) { function BenchmarkBinaryHeapPop10000 (line 463) | func BenchmarkBinaryHeapPop10000(b *testing.B) { function BenchmarkBinaryHeapPop100000 (line 474) | func BenchmarkBinaryHeapPop100000(b *testing.B) { function BenchmarkBinaryHeapPush100 (line 485) | func BenchmarkBinaryHeapPush100(b *testing.B) { function BenchmarkBinaryHeapPush1000 (line 493) | func BenchmarkBinaryHeapPush1000(b *testing.B) { function BenchmarkBinaryHeapPush10000 (line 504) | func BenchmarkBinaryHeapPush10000(b *testing.B) { function BenchmarkBinaryHeapPush100000 (line 515) | func BenchmarkBinaryHeapPush100000(b *testing.B) { FILE: trees/binaryheap/iterator.go type Iterator (line 15) | type Iterator struct method Iterator (line 21) | func (heap *Heap[T]) Iterator() *Iterator[T] { method Next (line 29) | func (iterator *Iterator[T]) Next() bool { method Prev (line 39) | func (iterator *Iterator[T]) Prev() bool { method Value (line 48) | func (iterator *Iterator[T]) Value() T { method Index (line 67) | func (iterator *Iterator[T]) Index() int { method Begin (line 73) | func (iterator *Iterator[T]) Begin() { method End (line 79) | func (iterator *Iterator[T]) End() { method First (line 86) | func (iterator *Iterator[T]) First() bool { method Last (line 94) | func (iterator *Iterator[T]) Last() bool { method NextTo (line 103) | func (iterator *Iterator[T]) NextTo(f func(index int, value T) bool) bool { method PrevTo (line 117) | func (iterator *Iterator[T]) PrevTo(f func(index int, value T) bool) bool { function numOfBits (line 128) | func numOfBits(n int) uint { function evaluateRange (line 138) | func evaluateRange(index int) (start int, end int) { FILE: trees/binaryheap/serialization.go method ToJSON (line 16) | func (heap *Heap[T]) ToJSON() ([]byte, error) { method FromJSON (line 21) | func (heap *Heap[T]) FromJSON(data []byte) error { method UnmarshalJSON (line 26) | func (heap *Heap[T]) UnmarshalJSON(bytes []byte) error { method MarshalJSON (line 31) | func (heap *Heap[T]) MarshalJSON() ([]byte, error) { FILE: trees/btree/btree.go type Tree (line 33) | type Tree struct type Node (line 41) | type Node struct type Entry (line 48) | type Entry struct function New (line 54) | func New[K cmp.Ordered, V any](order int) *Tree[K, V] { function NewWith (line 59) | func NewWith[K comparable, V any](order int, comparator utils.Comparator... method Put (line 69) | func (tree *Tree[K, V]) Put(key K, value V) { method Get (line 86) | func (tree *Tree[K, V]) Get(key K) (value V, found bool) { method GetNode (line 96) | func (tree *Tree[K, V]) GetNode(key K) *Node[K, V] { method Remove (line 103) | func (tree *Tree[K, V]) Remove(key K) { method Empty (line 112) | func (tree *Tree[K, V]) Empty() bool { method Size (line 117) | func (tree *Tree[K, V]) Size() int { method Size (line 123) | func (node *Node[K, V]) Size() int { method Keys (line 135) | func (tree *Tree[K, V]) Keys() []K { method Values (line 145) | func (tree *Tree[K, V]) Values() []V { method Clear (line 155) | func (tree *Tree[K, V]) Clear() { method Height (line 161) | func (tree *Tree[K, V]) Height() int { method Left (line 166) | func (tree *Tree[K, V]) Left() *Node[K, V] { method LeftKey (line 171) | func (tree *Tree[K, V]) LeftKey() interface{} { method LeftValue (line 179) | func (tree *Tree[K, V]) LeftValue() interface{} { method Right (line 187) | func (tree *Tree[K, V]) Right() *Node[K, V] { method RightKey (line 192) | func (tree *Tree[K, V]) RightKey() interface{} { method RightValue (line 200) | func (tree *Tree[K, V]) RightValue() interface{} { method String (line 208) | func (tree *Tree[K, V]) String() string { method String (line 217) | func (entry *Entry[K, V]) String() string { method output (line 221) | func (tree *Tree[K, V]) output(buffer *bytes.Buffer, node *Node[K, V], l... method height (line 233) | func (node *Node[K, V]) height() int { method isLeaf (line 244) | func (tree *Tree[K, V]) isLeaf(node *Node[K, V]) bool { method isFull (line 248) | func (tree *Tree[K, V]) isFull(node *Node[K, V]) bool { method shouldSplit (line 252) | func (tree *Tree[K, V]) shouldSplit(node *Node[K, V]) bool { method maxChildren (line 256) | func (tree *Tree[K, V]) maxChildren() int { method minChildren (line 260) | func (tree *Tree[K, V]) minChildren() int { method maxEntries (line 264) | func (tree *Tree[K, V]) maxEntries() int { method minEntries (line 268) | func (tree *Tree[K, V]) minEntries() int { method middle (line 272) | func (tree *Tree[K, V]) middle() int { method search (line 277) | func (tree *Tree[K, V]) search(node *Node[K, V], key K) (index int, foun... method searchRecursively (line 296) | func (tree *Tree[K, V]) searchRecursively(startNode *Node[K, V], key K) ... method insert (line 313) | func (tree *Tree[K, V]) insert(node *Node[K, V], entry *Entry[K, V]) (in... method insertIntoLeaf (line 320) | func (tree *Tree[K, V]) insertIntoLeaf(node *Node[K, V], entry *Entry[K,... method insertIntoInternal (line 334) | func (tree *Tree[K, V]) insertIntoInternal(node *Node[K, V], entry *Entr... method split (line 343) | func (tree *Tree[K, V]) split(node *Node[K, V]) { method splitNonRoot (line 356) | func (tree *Tree[K, V]) splitNonRoot(node *Node[K, V]) { method splitRoot (line 389) | func (tree *Tree[K, V]) splitRoot() { function setParent (line 414) | func setParent[K comparable, V any](nodes []*Node[K, V], parent *Node[K,... method left (line 420) | func (tree *Tree[K, V]) left(node *Node[K, V]) *Node[K, V] { method right (line 433) | func (tree *Tree[K, V]) right(node *Node[K, V]) *Node[K, V] { method leftSibling (line 448) | func (tree *Tree[K, V]) leftSibling(node *Node[K, V], key K) (*Node[K, V... method rightSibling (line 461) | func (tree *Tree[K, V]) rightSibling(node *Node[K, V], key K) (*Node[K, ... method delete (line 474) | func (tree *Tree[K, V]) delete(node *Node[K, V], index int) { method rebalance (line 497) | func (tree *Tree[K, V]) rebalance(node *Node[K, V], deletedKey K) { method prependChildren (line 566) | func (tree *Tree[K, V]) prependChildren(fromNode *Node[K, V], toNode *No... method appendChildren (line 572) | func (tree *Tree[K, V]) appendChildren(fromNode *Node[K, V], toNode *Nod... method deleteEntry (line 577) | func (tree *Tree[K, V]) deleteEntry(node *Node[K, V], index int) { method deleteChild (line 583) | func (tree *Tree[K, V]) deleteChild(node *Node[K, V], index int) { FILE: trees/btree/btree_test.go function TestBTreeGet1 (line 14) | func TestBTreeGet1(t *testing.T) { function TestBTreeGet2 (line 43) | func TestBTreeGet2(t *testing.T) { function TestBTreeGet3 (line 78) | func TestBTreeGet3(t *testing.T) { function TestBTreePut1 (line 124) | func TestBTreePut1(t *testing.T) { function TestBTreePut2 (line 174) | func TestBTreePut2(t *testing.T) { function TestBTreePut3 (line 214) | func TestBTreePut3(t *testing.T) { function TestBTreePut4 (line 265) | func TestBTreePut4(t *testing.T) { function TestBTreeRemove1 (line 359) | func TestBTreeRemove1(t *testing.T) { function TestBTreeRemove2 (line 366) | func TestBTreeRemove2(t *testing.T) { function TestBTreeRemove3 (line 380) | func TestBTreeRemove3(t *testing.T) { function TestBTreeRemove4 (line 405) | func TestBTreeRemove4(t *testing.T) { function TestBTreeRemove5 (line 425) | func TestBTreeRemove5(t *testing.T) { function TestBTreeRemove6 (line 445) | func TestBTreeRemove6(t *testing.T) { function TestBTreeRemove7 (line 474) | func TestBTreeRemove7(t *testing.T) { function TestBTreeRemove8 (line 534) | func TestBTreeRemove8(t *testing.T) { function TestBTreeRemove9 (line 568) | func TestBTreeRemove9(t *testing.T) { function TestBTreeHeight (line 613) | func TestBTreeHeight(t *testing.T) { function TestBTreeLeftAndRight (line 666) | func TestBTreeLeftAndRight(t *testing.T) { function TestBTreeIteratorValuesAndKeys (line 700) | func TestBTreeIteratorValuesAndKeys(t *testing.T) { function TestBTreeIteratorNextOnEmpty (line 721) | func TestBTreeIteratorNextOnEmpty(t *testing.T) { function TestBTreeIteratorPrevOnEmpty (line 729) | func TestBTreeIteratorPrevOnEmpty(t *testing.T) { function TestBTreeIterator1Next (line 737) | func TestBTreeIterator1Next(t *testing.T) { function TestBTreeIterator1Prev (line 761) | func TestBTreeIterator1Prev(t *testing.T) { function TestBTreeIterator2Next (line 787) | func TestBTreeIterator2Next(t *testing.T) { function TestBTreeIterator2Prev (line 806) | func TestBTreeIterator2Prev(t *testing.T) { function TestBTreeIterator3Next (line 827) | func TestBTreeIterator3Next(t *testing.T) { function TestBTreeIterator3Prev (line 844) | func TestBTreeIterator3Prev(t *testing.T) { function TestBTreeIterator4Next (line 863) | func TestBTreeIterator4Next(t *testing.T) { function TestBTreeIterator4Prev (line 889) | func TestBTreeIterator4Prev(t *testing.T) { function TestBTreeIteratorBegin (line 917) | func TestBTreeIteratorBegin(t *testing.T) { function TestBTreeIteratorEnd (line 949) | func TestBTreeIteratorEnd(t *testing.T) { function TestBTreeIteratorFirst (line 976) | func TestBTreeIteratorFirst(t *testing.T) { function TestBTreeIteratorLast (line 990) | func TestBTreeIteratorLast(t *testing.T) { function TestBTreeSearch (line 1004) | func TestBTreeSearch(t *testing.T) { function assertValidTree (line 1046) | func assertValidTree[K comparable, V any](t *testing.T, tree *Tree[K, V]... function assertValidTreeNode (line 1052) | func assertValidTreeNode[K comparable, V any](t *testing.T, node *Node[K... function TestBTreeIteratorNextTo (line 1069) | func TestBTreeIteratorNextTo(t *testing.T) { function TestBTreeIteratorPrevTo (line 1121) | func TestBTreeIteratorPrevTo(t *testing.T) { function TestBTreeSerialization (line 1175) | func TestBTreeSerialization(t *testing.T) { function TestBTreeString (line 1226) | func TestBTreeString(t *testing.T) { function benchmarkGet (line 1234) | func benchmarkGet(b *testing.B, tree *Tree[int, struct{}], size int) { function benchmarkPut (line 1242) | func benchmarkPut(b *testing.B, tree *Tree[int, struct{}], size int) { function benchmarkRemove (line 1250) | func benchmarkRemove(b *testing.B, tree *Tree[int, struct{}], size int) { function BenchmarkBTreeGet100 (line 1258) | func BenchmarkBTreeGet100(b *testing.B) { function BenchmarkBTreeGet1000 (line 1269) | func BenchmarkBTreeGet1000(b *testing.B) { function BenchmarkBTreeGet10000 (line 1280) | func BenchmarkBTreeGet10000(b *testing.B) { function BenchmarkBTreeGet100000 (line 1291) | func BenchmarkBTreeGet100000(b *testing.B) { function BenchmarkBTreePut100 (line 1302) | func BenchmarkBTreePut100(b *testing.B) { function BenchmarkBTreePut1000 (line 1310) | func BenchmarkBTreePut1000(b *testing.B) { function BenchmarkBTreePut10000 (line 1321) | func BenchmarkBTreePut10000(b *testing.B) { function BenchmarkBTreePut100000 (line 1332) | func BenchmarkBTreePut100000(b *testing.B) { function BenchmarkBTreeRemove100 (line 1343) | func BenchmarkBTreeRemove100(b *testing.B) { function BenchmarkBTreeRemove1000 (line 1354) | func BenchmarkBTreeRemove1000(b *testing.B) { function BenchmarkBTreeRemove10000 (line 1365) | func BenchmarkBTreeRemove10000(b *testing.B) { function BenchmarkBTreeRemove100000 (line 1376) | func BenchmarkBTreeRemove100000(b *testing.B) { FILE: trees/btree/iterator.go type Iterator (line 13) | type Iterator struct type position (line 20) | type position constant begin (line 23) | begin, between, end position = 0, 1, 2 method Iterator (line 27) | func (tree *Tree[K, V]) Iterator() *Iterator[K, V] { method Next (line 35) | func (iterator *Iterator[K, V]) Next() bool { method Prev (line 94) | func (iterator *Iterator[K, V]) Prev() bool { method Value (line 152) | func (iterator *Iterator[K, V]) Value() V { method Key (line 158) | func (iterator *Iterator[K, V]) Key() K { method Node (line 164) | func (iterator *Iterator[K, V]) Node() *Node[K, V] { method Begin (line 170) | func (iterator *Iterator[K, V]) Begin() { method End (line 178) | func (iterator *Iterator[K, V]) End() { method First (line 187) | func (iterator *Iterator[K, V]) First() bool { method Last (line 195) | func (iterator *Iterator[K, V]) Last() bool { method NextTo (line 204) | func (iterator *Iterator[K, V]) NextTo(f func(key K, value V) bool) bool { method PrevTo (line 218) | func (iterator *Iterator[K, V]) PrevTo(f func(key K, value V) bool) bool { FILE: trees/btree/serialization.go method ToJSON (line 18) | func (tree *Tree[K, V]) ToJSON() ([]byte, error) { method FromJSON (line 28) | func (tree *Tree[K, V]) FromJSON(data []byte) error { method UnmarshalJSON (line 44) | func (tree *Tree[K, V]) UnmarshalJSON(bytes []byte) error { method MarshalJSON (line 49) | func (tree *Tree[K, V]) MarshalJSON() ([]byte, error) { FILE: trees/redblacktree/iterator.go type Iterator (line 13) | type Iterator struct type position (line 19) | type position constant begin (line 22) | begin, between, end position = 0, 1, 2 method Iterator (line 26) | func (tree *Tree[K, V]) Iterator() *Iterator[K, V] { method IteratorAt (line 31) | func (tree *Tree[K, V]) IteratorAt(node *Node[K, V]) *Iterator[K, V] { method Next (line 39) | func (iterator *Iterator[K, V]) Next() bool { method Prev (line 79) | func (iterator *Iterator[K, V]) Prev() bool { method Value (line 118) | func (iterator *Iterator[K, V]) Value() V { method Key (line 124) | func (iterator *Iterator[K, V]) Key() K { method Node (line 130) | func (iterator *Iterator[K, V]) Node() *Node[K, V] { method Begin (line 136) | func (iterator *Iterator[K, V]) Begin() { method End (line 143) | func (iterator *Iterator[K, V]) End() { method First (line 151) | func (iterator *Iterator[K, V]) First() bool { method Last (line 159) | func (iterator *Iterator[K, V]) Last() bool { method NextTo (line 168) | func (iterator *Iterator[K, V]) NextTo(f func(key K, value V) bool) bool { method PrevTo (line 182) | func (iterator *Iterator[K, V]) PrevTo(f func(key K, value V) bool) bool { FILE: trees/redblacktree/redblacktree.go type color (line 25) | type color constant black (line 28) | black, red color = true, false type Tree (line 32) | type Tree struct type Node (line 39) | type Node struct function New (line 49) | func New[K cmp.Ordered, V any]() *Tree[K, V] { function NewWith (line 54) | func NewWith[K comparable, V any](comparator utils.Comparator[K]) *Tree[... method Put (line 60) | func (tree *Tree[K, V]) Put(key K, value V) { method Get (line 104) | func (tree *Tree[K, V]) Get(key K) (value V, found bool) { method GetNode (line 114) | func (tree *Tree[K, V]) GetNode(key K) *Node[K, V] { method Remove (line 120) | func (tree *Tree[K, V]) Remove(key K) { method Empty (line 151) | func (tree *Tree[K, V]) Empty() bool { method Size (line 156) | func (tree *Tree[K, V]) Size() int { method Size (line 162) | func (node *Node[K, V]) Size() int { method Keys (line 177) | func (tree *Tree[K, V]) Keys() []K { method Values (line 187) | func (tree *Tree[K, V]) Values() []V { method Left (line 197) | func (tree *Tree[K, V]) Left() *Node[K, V] { method Right (line 208) | func (tree *Tree[K, V]) Right() *Node[K, V] { method Floor (line 226) | func (tree *Tree[K, V]) Floor(key K) (floor *Node[K, V], found bool) { method Ceiling (line 255) | func (tree *Tree[K, V]) Ceiling(key K) (ceiling *Node[K, V], found bool) { method Clear (line 277) | func (tree *Tree[K, V]) Clear() { method String (line 283) | func (tree *Tree[K, V]) String() string { method String (line 291) | func (node *Node[K, V]) String() string { function output (line 295) | func output[K comparable, V any](node *Node[K, V], prefix string, isTail... method lookup (line 323) | func (tree *Tree[K, V]) lookup(key K) *Node[K, V] { method grandparent (line 339) | func (node *Node[K, V]) grandparent() *Node[K, V] { method uncle (line 346) | func (node *Node[K, V]) uncle() *Node[K, V] { method sibling (line 353) | func (node *Node[K, V]) sibling() *Node[K, V] { method rotateLeft (line 363) | func (tree *Tree[K, V]) rotateLeft(node *Node[K, V]) { method rotateRight (line 374) | func (tree *Tree[K, V]) rotateRight(node *Node[K, V]) { method replaceNode (line 385) | func (tree *Tree[K, V]) replaceNode(old *Node[K, V], new *Node[K, V]) { method insertCase1 (line 400) | func (tree *Tree[K, V]) insertCase1(node *Node[K, V]) { method insertCase2 (line 408) | func (tree *Tree[K, V]) insertCase2(node *Node[K, V]) { method insertCase3 (line 415) | func (tree *Tree[K, V]) insertCase3(node *Node[K, V]) { method insertCase4 (line 427) | func (tree *Tree[K, V]) insertCase4(node *Node[K, V]) { method insertCase5 (line 439) | func (tree *Tree[K, V]) insertCase5(node *Node[K, V]) { method maximumNode (line 450) | func (node *Node[K, V]) maximumNode() *Node[K, V] { method deleteCase1 (line 460) | func (tree *Tree[K, V]) deleteCase1(node *Node[K, V]) { method deleteCase2 (line 467) | func (tree *Tree[K, V]) deleteCase2(node *Node[K, V]) { method deleteCase3 (line 481) | func (tree *Tree[K, V]) deleteCase3(node *Node[K, V]) { method deleteCase4 (line 494) | func (tree *Tree[K, V]) deleteCase4(node *Node[K, V]) { method deleteCase5 (line 507) | func (tree *Tree[K, V]) deleteCase5(node *Node[K, V]) { method deleteCase6 (line 527) | func (tree *Tree[K, V]) deleteCase6(node *Node[K, V]) { function nodeColor (line 540) | func nodeColor[K comparable, V any](node *Node[K, V]) color { FILE: trees/redblacktree/redblacktree_test.go function TestRedBlackTreeGet (line 15) | func TestRedBlackTreeGet(t *testing.T) { function TestRedBlackTreePut (line 61) | func TestRedBlackTreePut(t *testing.T) { function TestRedBlackTreeRemove (line 102) | func TestRedBlackTreeRemove(t *testing.T) { function TestRedBlackTreeLeftAndRight (line 166) | func TestRedBlackTreeLeftAndRight(t *testing.T) { function TestRedBlackTreeCeilingAndFloor (line 200) | func TestRedBlackTreeCeilingAndFloor(t *testing.T) { function TestRedBlackTreeIteratorNextOnEmpty (line 233) | func TestRedBlackTreeIteratorNextOnEmpty(t *testing.T) { function TestRedBlackTreeIteratorPrevOnEmpty (line 241) | func TestRedBlackTreeIteratorPrevOnEmpty(t *testing.T) { function TestRedBlackTreeIterator1Next (line 249) | func TestRedBlackTreeIterator1Next(t *testing.T) { function TestRedBlackTreeIterator1Prev (line 280) | func TestRedBlackTreeIterator1Prev(t *testing.T) { function TestRedBlackTreeIterator2Next (line 313) | func TestRedBlackTreeIterator2Next(t *testing.T) { function TestRedBlackTreeIterator2Prev (line 332) | func TestRedBlackTreeIterator2Prev(t *testing.T) { function TestRedBlackTreeIterator3Next (line 353) | func TestRedBlackTreeIterator3Next(t *testing.T) { function TestRedBlackTreeIterator3Prev (line 370) | func TestRedBlackTreeIterator3Prev(t *testing.T) { function TestRedBlackTreeIterator4Next (line 389) | func TestRedBlackTreeIterator4Next(t *testing.T) { function TestRedBlackTreeIterator4Prev (line 425) | func TestRedBlackTreeIterator4Prev(t *testing.T) { function TestRedBlackTreeIteratorBegin (line 463) | func TestRedBlackTreeIteratorBegin(t *testing.T) { function TestRedBlackTreeIteratorEnd (line 495) | func TestRedBlackTreeIteratorEnd(t *testing.T) { function TestRedBlackTreeIteratorFirst (line 522) | func TestRedBlackTreeIteratorFirst(t *testing.T) { function TestRedBlackTreeIteratorLast (line 536) | func TestRedBlackTreeIteratorLast(t *testing.T) { function TestRedBlackTreeIteratorNextTo (line 550) | func TestRedBlackTreeIteratorNextTo(t *testing.T) { function TestRedBlackTreeIteratorPrevTo (line 602) | func TestRedBlackTreeIteratorPrevTo(t *testing.T) { function TestRedBlackTreeSerialization (line 656) | func TestRedBlackTreeSerialization(t *testing.T) { function TestRedBlackTreeString (line 707) | func TestRedBlackTreeString(t *testing.T) { function benchmarkGet (line 715) | func benchmarkGet(b *testing.B, tree *Tree[int, struct{}], size int) { function benchmarkPut (line 723) | func benchmarkPut(b *testing.B, tree *Tree[int, struct{}], size int) { function benchmarkRemove (line 731) | func benchmarkRemove(b *testing.B, tree *Tree[int, struct{}], size int) { function BenchmarkRedBlackTreeGet100 (line 739) | func BenchmarkRedBlackTreeGet100(b *testing.B) { function BenchmarkRedBlackTreeGet1000 (line 750) | func BenchmarkRedBlackTreeGet1000(b *testing.B) { function BenchmarkRedBlackTreeGet10000 (line 761) | func BenchmarkRedBlackTreeGet10000(b *testing.B) { function BenchmarkRedBlackTreeGet100000 (line 772) | func BenchmarkRedBlackTreeGet100000(b *testing.B) { function BenchmarkRedBlackTreePut100 (line 783) | func BenchmarkRedBlackTreePut100(b *testing.B) { function BenchmarkRedBlackTreePut1000 (line 791) | func BenchmarkRedBlackTreePut1000(b *testing.B) { function BenchmarkRedBlackTreePut10000 (line 802) | func BenchmarkRedBlackTreePut10000(b *testing.B) { function BenchmarkRedBlackTreePut100000 (line 813) | func BenchmarkRedBlackTreePut100000(b *testing.B) { function BenchmarkRedBlackTreeRemove100 (line 824) | func BenchmarkRedBlackTreeRemove100(b *testing.B) { function BenchmarkRedBlackTreeRemove1000 (line 835) | func BenchmarkRedBlackTreeRemove1000(b *testing.B) { function BenchmarkRedBlackTreeRemove10000 (line 846) | func BenchmarkRedBlackTreeRemove10000(b *testing.B) { function BenchmarkRedBlackTreeRemove100000 (line 857) | func BenchmarkRedBlackTreeRemove100000(b *testing.B) { FILE: trees/redblacktree/serialization.go method ToJSON (line 18) | func (tree *Tree[K, V]) ToJSON() ([]byte, error) { method FromJSON (line 28) | func (tree *Tree[K, V]) FromJSON(data []byte) error { method UnmarshalJSON (line 41) | func (tree *Tree[K, V]) UnmarshalJSON(bytes []byte) error { method MarshalJSON (line 46) | func (tree *Tree[K, V]) MarshalJSON() ([]byte, error) { FILE: trees/trees.go type Tree (line 15) | type Tree interface FILE: utils/comparator.go type Comparator (line 9) | type Comparator function TimeComparator (line 12) | func TimeComparator(a, b time.Time) int { FILE: utils/comparator_test.go function TestTimeComparator (line 12) | func TestTimeComparator(t *testing.T) { FILE: utils/utils.go function ToString (line 18) | func ToString(value interface{}) string { FILE: utils/utils_test.go function TestToStringInts (line 12) | func TestToStringInts(t *testing.T) { function TestToStringUInts (line 41) | func TestToStringUInts(t *testing.T) { function TestToStringFloats (line 70) | func TestToStringFloats(t *testing.T) { function TestToStringOther (line 83) | func TestToStringOther(t *testing.T) {