//
pkg.gl
Category
github.com/agilebits/gods
sets
treeset
package
1.12.0
Repository:
https://github.com/agilebits/gods.git
Documentation:
pkg.go.dev
Overview
Versions
1
Dependencies
7
Dependents
0
Files
201 SLOC
#
Functions
NewWith
NewWith instantiates a new empty set with the custom comparator.
NewWithIntComparator
NewWithIntComparator instantiates a new empty set with the IntComparator, i.e.
NewWithStringComparator
NewWithStringComparator instantiates a new empty set with the StringComparator, i.e.
#
Structs
Iterator
Iterator returns a stateful iterator whose values can be fetched by an index.
Set
Set holds elements in a red-black tree.