Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/arafatkatze/DataViz
/ functions
Functions
773 in github.com/arafatkatze/DataViz
⨍
Functions
773
◇
Types & classes
47
Method
FromJSON
FromJSON populates list's elements from the input JSON representation.
maps/treemap/serialization.go:16
Method
FromJSON
FromJSON populates list's elements from the input JSON representation.
trees/avltree/serialization.go:25
Method
FromJSON
FromJSON populates list's elements from the input JSON representation.
trees/btree/serialization.go:25
Method
FromJSON
FromJSON populates list's elements from the input JSON representation.
trees/redblacktree/serialization.go:25
Method
FromJSON
FromJSON populates list's elements from the input JSON representation.
trees/binaryheap/serialization.go:16
Method
FromJSON
FromJSON populates list's elements from the input JSON representation.
lists/doublylinkedlist/serialization.go:19
Method
FromJSON
FromJSON populates list's elements from the input JSON representation.
lists/arraylist/serialization.go:20
Method
FromJSON
FromJSON populates list's elements from the input JSON representation.
lists/singlylinkedlist/serialization.go:23
Method
FromJSON
FromJSON populates list's elements from the input JSON representation.
stacks/arraystack/serialization.go:16
Method
Get
Get searches the element in the map by key and returns its value or nil if key is not found in tree. Second return parameter is true if key was found,
maps/treemap/treemap.go:52
Method
Get
Get searches the node in the tree by key and returns its value or nil if key is not found in tree. Second return parameter is true if key was found, o
trees/avltree/avltree.go:60
Method
Get
Get searches the node in the tree by key and returns its value or nil if key is not found in tree. Second return parameter is true if key was found, o
trees/btree/btree.go:91
Method
Get
Get searches the node in the tree by key and returns its value or nil if key is not found in tree. Second return parameter is true if key was found, o
trees/redblacktree/redblacktree.go:105
Method
Get
Get returns the element at index. Second return parameter is true if index is within bounds of the array and array is not empty, otherwise false.
lists/doublylinkedlist/doublylinkedlist.go:76
Method
Get
Get returns the element at index. Second return parameter is true if index is within bounds of the array and array is not empty, otherwise false.
lists/arraylist/arraylist.go:47
Method
Get
Get returns the element at index. Second return parameter is true if index is within bounds of the array and array is not empty, otherwise false.
lists/singlylinkedlist/singlylinkedlist.go:71
Method
Index
Index returns the current element's index. Does not modify the state of the iterator.
trees/binaryheap/iterator.go:50
Method
Index
Index returns the current element's index. Does not modify the state of the iterator.
lists/doublylinkedlist/iterator.go:68
Method
Index
Index returns the current element's index. Does not modify the state of the iterator.
lists/arraylist/iterator.go:49
Method
Index
Index returns the current element's index. Does not modify the state of the iterator.
lists/singlylinkedlist/iterator.go:53
Method
Index
Index returns the current element's index. Does not modify the state of the iterator.
stacks/arraystack/iterator.go:50
Method
Insert
Insert inserts values at specified index position shifting the value at that position (if any) and any subsequent elements to the right. Does not do a
lists/doublylinkedlist/doublylinkedlist.go:238
Method
Insert
Insert inserts values at specified index position shifting the value at that position (if any) and any subsequent elements to the right. Does not do a
lists/arraylist/arraylist.go:145
Method
Insert
Insert inserts values at specified index position shifting the value at that position (if any) and any subsequent elements to the right. Does not do a
lists/singlylinkedlist/singlylinkedlist.go:218
Function
Int16Comparator
Int16Comparator provides a basic comparison on int16
utils/comparator.go:67
Function
Int32Comparator
Int32Comparator provides a basic comparison on int32
utils/comparator.go:81
Function
Int64Comparator
Int64Comparator provides a basic comparison on int64
utils/comparator.go:95
Function
Int8Comparator
Int8Comparator provides a basic comparison on int8
utils/comparator.go:53
Method
Key
Key returns the current element's key. Does not modify the state of the iterator.
maps/treemap/iterator.go:45
Method
Key
Key returns the current element's key. Does not modify the state of the iterator.
trees/avltree/iterator.go:79
Method
Key
Key returns the current element's key. Does not modify the state of the iterator.
trees/btree/iterator.go:160
Method
Key
Key returns the current element's key. Does not modify the state of the iterator.
trees/redblacktree/iterator.go:120
Method
Keys
Keys returns all keys in-order
maps/treemap/treemap.go:73
Method
Keys
Keys returns all keys in-order
trees/avltree/avltree.go:93
Method
Keys
Keys returns all keys in-order.
trees/btree/btree.go:120
Method
Last
Last moves the iterator to the last element and returns true if there was a last element in the container. If Last() returns true, then last element's
maps/treemap/iterator.go:71
Method
Last
Last moves the iterator to the last element and returns true if there was a last element in the container. If Last() returns true, then last element's
containers/iterator.go:77
Method
Last
Last moves the iterator to the last element and returns true if there was a last element in the container. If Last() returns true, then last element's
trees/avltree/iterator.go:120
Method
Last
Last moves the iterator to the last element and returns true if there was a last element in the container. If Last() returns true, then last element's
trees/btree/iterator.go:191
Method
Last
Last moves the iterator to the last element and returns true if there was a last element in the container. If Last() returns true, then last element's
trees/redblacktree/iterator.go:155
Method
Last
Last moves the iterator to the last element and returns true if there was a last element in the container. If Last() returns true, then last element's
trees/binaryheap/iterator.go:77
Method
Last
Last moves the iterator to the last element and returns true if there was a last element in the container. If Last() returns true, then last element's
lists/doublylinkedlist/iterator.go:97
Method
Last
Last moves the iterator to the last element and returns true if there was a last element in the container. If Last() returns true, then last element's
lists/arraylist/iterator.go:76
Method
Last
Last moves the iterator to the last element and returns true if there was a last element in the container. If Last() returns true, then last element's
stacks/arraystack/iterator.go:77
Method
Len
()
utils/sort.go:21
Method
Less
(i, j int)
utils/sort.go:27
Method
Max
Max returns the maximum key and its value from the tree map. Returns nil, nil if map is empty.
maps/treemap/treemap.go:98
Method
Min
Min returns the minimum key and its value from the tree map. Returns nil, nil if map is empty.
maps/treemap/treemap.go:89
Function
NewWith
NewWith instantiates a tree map with the custom comparator.
maps/treemap/treemap.go:29
Function
NewWith
NewWith instantiates an AVL tree with the custom comparator.
trees/avltree/avltree.go:37
Function
NewWith
NewWith instantiates a red-black tree with the custom comparator.
trees/redblacktree/redblacktree.go:47
Function
NewWith
NewWith instantiates a new empty heap tree with the custom comparator.
trees/binaryheap/binaryheap.go:31
Method
Next
Next moves the iterator to the next element and returns true if there was a next element in the container. If Next() returns true, then next element's
maps/treemap/iterator.go:26
Method
Next
Next moves the iterator to the next element and returns true if there was a next element in the container. If Next() returns true, then next element's
containers/iterator.go:9
Method
Next
Next returns the next element in an inorder walk of the AVL tree.
trees/avltree/avltree.go:449
Method
Node
Node returns the current element's key. Does not modify the state of the iterator.
trees/avltree/iterator.go:88
Method
Peek
Peek returns top element on the heap without removing it, or nil if heap is empty. Second return parameter is true, unless the heap was empty and ther
trees/binaryheap/binaryheap.go:78
Method
Peek
Peek returns top element on the stack without removing it, or nil if stack is empty. Second return parameter is true, unless the stack was empty and t
stacks/arraystack/arraystack.go:47
Method
Pop
Pop removes top element on heap and returns it, or nil if heap is empty. Second return parameter is true, unless the heap was empty and there was noth
trees/binaryheap/binaryheap.go:64
Method
Pop
Pop removes top element on stack and returns it, or nil if stack is empty. Second return parameter is true, unless the stack was empty and there was n
stacks/arraystack/arraystack.go:39
Method
Prepend
Prepend prepends a values (or more)
lists/doublylinkedlist/doublylinkedlist.go:59
Method
Prepend
Prepend prepends a values (or more)
lists/singlylinkedlist/singlylinkedlist.go:57
Method
Prev
Prev moves the iterator to the previous element and returns true if there was a previous element in the container. If Prev() returns true, then previo
maps/treemap/iterator.go:33
Method
Prev
Prev moves the iterator to the previous element and returns true if there was a previous element in the container. If Prev() returns true, then previo
containers/iterator.go:68
Method
Prev
Prev returns the previous element in an inorder walk of the AVL tree.
trees/avltree/avltree.go:443
Method
Push
Push adds a value onto the heap and bubbles it up accordingly.
trees/binaryheap/binaryheap.go:46
Method
Push
Push adds a value onto the top of the stack
stacks/arraystack/arraystack.go:33
Method
Remove
Remove removes the element from the map by key. Key should adhere to the comparator's type assertion, otherwise method panics.
maps/treemap/treemap.go:58
Method
Remove
Remove remove the node from the tree by key. Key should adhere to the comparator's type assertion, otherwise method panics.
trees/avltree/avltree.go:78
Method
Remove
Remove remove the node from the tree by key. Key should adhere to the comparator's type assertion, otherwise method panics.
trees/btree/btree.go:101
Method
Remove
Remove remove the node from the tree by key. Key should adhere to the comparator's type assertion, otherwise method panics.
trees/redblacktree/redblacktree.go:115
Method
Remove
Remove removes one or more elements from the list with the supplied indices.
lists/doublylinkedlist/doublylinkedlist.go:96
Method
Remove
Remove removes one or more elements from the list with the supplied indices.
lists/arraylist/arraylist.go:57
Method
Remove
Remove removes one or more elements from the list with the supplied indices.
lists/singlylinkedlist/singlylinkedlist.go:85
Function
RuneComparator
RuneComparator provides a basic comparison on rune
utils/comparator.go:221
Method
Size
Size returns number of elements in the map.
maps/treemap/treemap.go:68
Method
Size
Size returns the number of elements stored in the tree.
trees/avltree/avltree.go:88
Method
Size
Size returns number of nodes in the tree.
trees/btree/btree.go:115
Method
Size
Size returns number of nodes in the tree.
trees/redblacktree/redblacktree.go:151
Method
Size
Size returns number of elements within the list.
lists/doublylinkedlist/doublylinkedlist.go:192
Method
Size
Size returns number of elements within the list.
lists/arraylist/arraylist.go:117
Method
Size
Size returns number of elements within the list.
lists/singlylinkedlist/singlylinkedlist.go:172
Method
Size
Size returns number of elements within the stack.
stacks/arraystack/arraystack.go:57
Method
Sort
Sort sorts values (in-place) using.
lists/doublylinkedlist/doublylinkedlist.go:204
Method
Sort
Sort sorts values (in-place) using.
lists/arraylist/arraylist.go:128
Method
Sort
Sort sort values (in-place) using.
lists/singlylinkedlist/singlylinkedlist.go:184
Method
String
String returns a string representation of container
maps/treemap/treemap.go:106
Method
String
()
trees/avltree/avltree.go:197
Method
String
String returns a string representation of container (for debugging purposes)
trees/btree/btree.go:269
Method
String
()
trees/btree/btree.go:279
Method
String
()
trees/redblacktree/redblacktree.go:270
Method
String
String returns a string representation of container
trees/binaryheap/binaryheap.go:103
Method
String
String returns a string representation of container
lists/doublylinkedlist/doublylinkedlist.go:293
Method
String
String returns a string representation of container
lists/arraylist/arraylist.go:169
Method
String
String returns a string representation of container
lists/singlylinkedlist/singlylinkedlist.go:260
Method
String
String returns a string representation of container
stacks/arraystack/arraystack.go:102
Method
Swap
(i, j int)
utils/sort.go:24
Method
Swap
Swap swaps values of two elements at the given indices.
lists/doublylinkedlist/doublylinkedlist.go:220
Method
Swap
Swap swaps the two values at the specified positions.
lists/arraylist/arraylist.go:136
Method
Swap
Swap swaps values of two elements at the given indices.
lists/singlylinkedlist/singlylinkedlist.go:200
← previous
next →
401–500 of 773, ranked by callers