Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ReadyTalk/avian
/ element
Method
element
classpath/java/util/AbstractQueue.java:48–56 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
46
}
47
48
@Override
49
public
T element() {
50
T result = peek();
51
if
(result == null) {
52
throw
new
NoSuchElementException();
53
}
else
{
54
return
result;
55
}
56
}
57
58
@Override
59
public
T remove() {
Callers
nothing calls this directly
Calls
1
peek
Method · 0.65
Tested by
no test coverage detected