Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ReadyTalk/avian
/ pop
Method
pop
test/extra/QueryDump.java:61–63 ·
view source on GitHub ↗
(List<T> stack)
Source
from the content-addressed store, hash-verified
59
}
60
61
private
static
<T> T pop(List<T> stack) {
62
return
stack.remove(stack.size() - 1);
63
}
64
65
private
static
<T> T peek(List<T> stack,
int
offset) {
66
return
stack.get(stack.size() - 1 - offset);
Callers
1
read
Method · 0.95
Calls
2
remove
Method · 0.65
size
Method · 0.65
Tested by
no test coverage detected