MCPcopy Create free account
hub / github.com/arafatkatze/DataViz / Pop

Method Pop

stacks/arraystack/arraystack.go:39–43  ·  view source on GitHub ↗

Pop removes top element on stack and returns it, or nil if stack is empty. Second return parameter is true, unless the stack was empty and there was nothing to pop.

()

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Implementers 2

Heaptrees/binaryheap/binaryheap.go
Stackstacks/arraystack/arraystack.go

Calls 3

GetMethod · 0.65
SizeMethod · 0.65
RemoveMethod · 0.65

Tested by

no test coverage detected