Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ReadyTalk/avian
/ removeFirst
Method
removeFirst
classpath/java/util/LinkedList.java:260–269 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
258
}
259
260
@Override
261
public
T removeFirst() {
262
T result = pollFirst();
263
264
if
(result == null) {
265
throw
new
NoSuchElementException();
266
}
else
{
267
return
result;
268
}
269
}
270
271
@Override
272
public
T pop() {
Callers
3
iterateTest
Method · 0.95
pop
Method · 0.95
remove
Method · 0.95
Calls
1
pollFirst
Method · 0.95
Tested by
1
iterateTest
Method · 0.76