MCPcopy Create free account
hub / github.com/Monibuca/engine / IList

Interface IList

util/list.go:5–9  ·  view source on GitHub ↗

带回收功能的泛型双向链表

Source from the content-addressed store, hash-verified

3// 带回收功能的泛型双向链表
4
5type IList[T any] interface {
6 Push(*ListItem[T])
7 Shift() *ListItem[T]
8 Clear()
9}
10
11type ListItem[T any] struct {
12 Value T

Callers 10

PushMethod · 0.65
PushMethod · 0.65
TestReorderFunction · 0.65
RecycleMethod · 0.65
TransferMethod · 0.65
ShiftIDRMethod · 0.65
WriteAVCCMethod · 0.65
ShiftMethod · 0.65
RecycleMethod · 0.65
ClearMethod · 0.65

Implementers 1

BLLutil/pool.go

Calls

no outgoing calls

Tested by

no test coverage detected