MCPcopy Create free account
hub / github.com/dustinxie/lockfree / Len

Method Len

stack.go:25–25  ·  view source on GitHub ↗

length of stack

()

Source from the content-addressed store, hash-verified

23 Stack interface {
24 // length of stack
25 Len() int
26
27 // add an item to the stack
28 Push(interface{})

Callers 2

TestNewStackFunction · 0.95
TestStackFunction · 0.95

Implementers 1

stacklist/stack.go

Calls

no outgoing calls

Tested by 2

TestNewStackFunction · 0.76
TestStackFunction · 0.76