MCPcopy
hub / github.com/cornelk/hashmap / Value

Method Value

list_element.go:25–27  ·  view source on GitHub ↗

Value returns the value of the list item.

()

Source from the content-addressed store, hash-verified

23
24// Value returns the value of the list item.
25func (e *ListElement[Key, Value]) Value() Value {
26 return *e.value.Load()
27}
28
29// Next returns the item on the right.
30func (e *ListElement[Key, Value]) Next() *ListElement[Key, Value] {

Callers 3

GetMethod · 0.80
GetOrInsertMethod · 0.80
RangeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected