treeset

package
v0.0.0-...-63a9d49 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 24, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Comparable

type Comparable interface {
	CompareTo(other interface{}) int
}

type TreeSet

type TreeSet struct {
	// contains filtered or unexported fields
}

func NewTreeSet

func NewTreeSet() *TreeSet

func (*TreeSet) Add

func (set *TreeSet) Add(value interface{})

func (*TreeSet) Clear

func (set *TreeSet) Clear()

func (*TreeSet) Contains

func (set *TreeSet) Contains(item interface{}) bool

func (*TreeSet) First

func (set *TreeSet) First() interface{}

func (*TreeSet) IsEmpty

func (set *TreeSet) IsEmpty() bool

func (*TreeSet) Iter

func (set *TreeSet) Iter() <-chan interface{}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL