Documentation ¶
Index ¶
- func ArrayListExample()
- func ArrayStackExample()
- func BinaryHeapExample()
- func CustomComparatorExample()
- func DoublyLinkedListExample()
- func EnumerableWithIndexExample()
- func EunumerableWithKeyExample()
- func HashBidiMapExample()
- func HashMapExample()
- func HashSetExample()
- func IteratorWithIndexExample()
- func IteratorWithKeyExample()
- func LinkedListStackExample()
- func RedBlackTreeExample()
- func RedBlackTreeExtendedExample()
- func SinglyLinkedListExample()
- func SortExample()
- func TreeBidiMapExample()
- func TreeMapExample()
- func TreeSetExample()
- type RedBlackTreeExtended
- func (tree *RedBlackTreeExtended) GetMax() (value interface{}, found bool)
- func (tree *RedBlackTreeExtended) GetMin() (value interface{}, found bool)
- func (tree *RedBlackTreeExtended) RemoveMax() (value interface{}, deleted bool)
- func (tree *RedBlackTreeExtended) RemoveMin() (value interface{}, deleted bool)
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ArrayListExample ¶
func ArrayListExample()
ArrayListExample to demonstrate basic usage of ArrayList
func ArrayStackExample ¶
func ArrayStackExample()
ArrayStackExample to demonstrate basic usage of ArrayStack
func BinaryHeapExample ¶
func BinaryHeapExample()
BinaryHeapExample to demonstrate basic usage of BinaryHeap
func CustomComparatorExample ¶
func CustomComparatorExample()
CustomComparatorExample to demonstrate basic usage of CustomComparator
func DoublyLinkedListExample ¶
func DoublyLinkedListExample()
DoublyLinkedListExample to demonstrate basic usage of DoublyLinkedList
func EnumerableWithIndexExample ¶ added in v1.1.0
func EnumerableWithIndexExample()
EnumerableWithIndexExample to demonstrate basic usage of EnumerableWithIndex
func EunumerableWithKeyExample ¶ added in v1.1.0
func EunumerableWithKeyExample()
EunumerableWithKeyExample to demonstrate basic usage of EunumerableWithKey
func HashBidiMapExample ¶ added in v1.3.0
func HashBidiMapExample()
HashBidiMapExample to demonstrate basic usage of HashMap
func IteratorWithIndexExample ¶ added in v1.2.0
func IteratorWithIndexExample()
IteratorWithIndexExample to demonstrate basic usage of IteratorWithIndex
func IteratorWithKeyExample ¶ added in v1.2.0
func IteratorWithKeyExample()
IteratorWithKeyExample to demonstrate basic usage of IteratorWithKey
func LinkedListStackExample ¶
func LinkedListStackExample()
LinkedListStackExample to demonstrate basic usage of LinkedListStack
func RedBlackTreeExample ¶
func RedBlackTreeExample()
RedBlackTreeExample to demonstrate basic usage of RedBlackTree
func RedBlackTreeExtendedExample ¶
func RedBlackTreeExtendedExample()
RedBlackTreeExtendedExample main method on how to use the custom red-black tree above
func SinglyLinkedListExample ¶
func SinglyLinkedListExample()
SinglyLinkedListExample to demonstrate basic usage of SinglyLinkedList
func TreeBidiMapExample ¶ added in v1.4.0
func TreeBidiMapExample()
TreeBidiMapExample to demonstrate basic usage of TreeBidiMap
Types ¶
type RedBlackTreeExtended ¶
RedBlackTreeExtended to demonstrate how to extend a RedBlackTree to include new functions
func (*RedBlackTreeExtended) GetMax ¶
func (tree *RedBlackTreeExtended) GetMax() (value interface{}, found bool)
GetMax gets the max value and flag if found
func (*RedBlackTreeExtended) GetMin ¶
func (tree *RedBlackTreeExtended) GetMin() (value interface{}, found bool)
GetMin gets the min value and flag if found
func (*RedBlackTreeExtended) RemoveMax ¶
func (tree *RedBlackTreeExtended) RemoveMax() (value interface{}, deleted bool)
RemoveMax removes the max value and flag if found
func (*RedBlackTreeExtended) RemoveMin ¶
func (tree *RedBlackTreeExtended) RemoveMin() (value interface{}, deleted bool)
RemoveMin removes the min value and flag if found
Source Files ¶
- arraylist.go
- arraystack.go
- binaryheap.go
- customcomparator.go
- doublylinkedlist.go
- enumerablewithindex.go
- enumerablewithkey.go
- hashbidimap.go
- hashmap.go
- hashset.go
- iteratorwithindex.go
- iteratorwithkey.go
- linkedliststack.go
- redblacktree.go
- redblacktreeextended.go
- singlylinkedlist.go
- sort.go
- treebidimap.go
- treemap.go
- treeset.go