list

package
v2.0.4-beta.2 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package list is a generated GoMock package.

Package list is a generated GoMock package.

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 MockItem added in v2.0.4

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

MockItem is a mock of Item interface.

func NewMockItem added in v2.0.4

func NewMockItem(ctrl *gomock.Controller) *MockItem

NewMockItem creates a new mock instance.

func (*MockItem) EXPECT added in v2.0.4

func (m *MockItem) EXPECT() *MockItemMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockItem) SortedValue added in v2.0.4

func (m *MockItem) SortedValue() int

SortedValue mocks base method.

type MockItemMockRecorder added in v2.0.4

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

MockItemMockRecorder is the mock recorder for MockItem.

func (*MockItemMockRecorder) SortedValue added in v2.0.4

func (mr *MockItemMockRecorder) SortedValue() *gomock.Call

SortedValue indicates an expected call of SortedValue.

type MockSortedList added in v2.0.4

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

MockSortedList is a mock of SortedList interface.

func NewMockSortedList added in v2.0.4

func NewMockSortedList(ctrl *gomock.Controller) *MockSortedList

NewMockSortedList creates a new mock instance.

func (*MockSortedList) Contains added in v2.0.4

func (m *MockSortedList) Contains(arg0 Item) bool

Contains mocks base method.

func (*MockSortedList) EXPECT added in v2.0.4

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockSortedList) Insert added in v2.0.4

func (m *MockSortedList) Insert(arg0 Item)

Insert mocks base method.

func (*MockSortedList) Len added in v2.0.4

func (m *MockSortedList) Len() int

Len mocks base method.

func (*MockSortedList) Range added in v2.0.4

func (m *MockSortedList) Range(arg0 func(Item) bool)

Range mocks base method.

func (*MockSortedList) Remove added in v2.0.4

func (m *MockSortedList) Remove(arg0 Item)

Remove mocks base method.

func (*MockSortedList) ReverseRange added in v2.0.4

func (m *MockSortedList) ReverseRange(fn func(Item) bool)

ReverseRange mocks base method.

type MockSortedListMockRecorder added in v2.0.4

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

MockSortedListMockRecorder is the mock recorder for MockSortedList.

func (*MockSortedListMockRecorder) Contains added in v2.0.4

func (mr *MockSortedListMockRecorder) Contains(arg0 interface{}) *gomock.Call

Contains indicates an expected call of Contains.

func (*MockSortedListMockRecorder) Insert added in v2.0.4

func (mr *MockSortedListMockRecorder) Insert(arg0 interface{}) *gomock.Call

Insert indicates an expected call of Insert.

func (*MockSortedListMockRecorder) Len added in v2.0.4

Len indicates an expected call of Len.

func (*MockSortedListMockRecorder) Range added in v2.0.4

func (mr *MockSortedListMockRecorder) Range(arg0 interface{}) *gomock.Call

Range indicates an expected call of Range.

func (*MockSortedListMockRecorder) Remove added in v2.0.4

func (mr *MockSortedListMockRecorder) Remove(arg0 interface{}) *gomock.Call

Remove indicates an expected call of Remove.

func (*MockSortedListMockRecorder) ReverseRange added in v2.0.4

func (mr *MockSortedListMockRecorder) ReverseRange(fn interface{}) *gomock.Call

ReverseRange indicates an expected call of ReverseRange.

type MockSortedUniqueList added in v2.0.4

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

MockSortedUniqueList is a mock of SortedUniqueList interface.

func NewMockSortedUniqueList added in v2.0.4

func NewMockSortedUniqueList(ctrl *gomock.Controller) *MockSortedUniqueList

NewMockSortedUniqueList creates a new mock instance.

func (*MockSortedUniqueList) Contains added in v2.0.4

func (m *MockSortedUniqueList) Contains(arg0 Item) bool

Contains mocks base method.

func (*MockSortedUniqueList) EXPECT added in v2.0.4

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockSortedUniqueList) Insert added in v2.0.4

func (m *MockSortedUniqueList) Insert(arg0 Item)

Insert mocks base method.

func (*MockSortedUniqueList) Len added in v2.0.4

func (m *MockSortedUniqueList) Len() int

Len mocks base method.

func (*MockSortedUniqueList) Range added in v2.0.4

func (m *MockSortedUniqueList) Range(arg0 func(Item) bool)

Range mocks base method.

func (*MockSortedUniqueList) Remove added in v2.0.4

func (m *MockSortedUniqueList) Remove(arg0 Item)

Remove mocks base method.

func (*MockSortedUniqueList) ReverseRange added in v2.0.4

func (m *MockSortedUniqueList) ReverseRange(fn func(Item) bool)

ReverseRange mocks base method.

type MockSortedUniqueListMockRecorder added in v2.0.4

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

MockSortedUniqueListMockRecorder is the mock recorder for MockSortedUniqueList.

func (*MockSortedUniqueListMockRecorder) Contains added in v2.0.4

func (mr *MockSortedUniqueListMockRecorder) Contains(arg0 interface{}) *gomock.Call

Contains indicates an expected call of Contains.

func (*MockSortedUniqueListMockRecorder) Insert added in v2.0.4

func (mr *MockSortedUniqueListMockRecorder) Insert(arg0 interface{}) *gomock.Call

Insert indicates an expected call of Insert.

func (*MockSortedUniqueListMockRecorder) Len added in v2.0.4

Len indicates an expected call of Len.

func (*MockSortedUniqueListMockRecorder) Range added in v2.0.4

func (mr *MockSortedUniqueListMockRecorder) Range(arg0 interface{}) *gomock.Call

Range indicates an expected call of Range.

func (*MockSortedUniqueListMockRecorder) Remove added in v2.0.4

func (mr *MockSortedUniqueListMockRecorder) Remove(arg0 interface{}) *gomock.Call

Remove indicates an expected call of Remove.

func (*MockSortedUniqueListMockRecorder) ReverseRange added in v2.0.4

func (mr *MockSortedUniqueListMockRecorder) ReverseRange(fn interface{}) *gomock.Call

ReverseRange indicates an expected call of ReverseRange.

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

Jump to

Keyboard shortcuts

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