Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/processing/processing
/ pop
Method
pop
core/src/processing/data/StringList.java:174–181 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
172
173
174
public
String pop() {
175
if
(count == 0) {
176
throw
new
RuntimeException(
"Can't call pop() on an empty list"
);
177
}
178
String value = get(count-1);
179
data[--count] = null;
// avoid leak
180
return
value;
181
}
182
183
184
/**
Callers
nothing calls this directly
Calls
1
get
Method · 0.95
Tested by
no test coverage detected