list

package
v2.0.3-beta.1 Latest Latest
Warning

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

Go to latest
Published: May 13, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Item

type Item interface {
	SortedValue() int
}

type SortedList

type SortedList interface {
	Len() int
	Insert(Item)
	Remove(Item)
	Contains(Item) bool
	Range(func(Item) bool)
	ReverseRange(fn func(Item) bool)
}

func NewSortedList

func NewSortedList() SortedList

type SortedUniqueList

type SortedUniqueList interface {
	Len() int
	Insert(Item)
	Remove(Item)
	Contains(Item) bool
	Range(func(Item) bool)
	ReverseRange(fn func(Item) bool)
}

func NewSortedUniqueList

func NewSortedUniqueList() SortedUniqueList

Directories

Path Synopsis
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.

Jump to

Keyboard shortcuts

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