Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/ReadyTalk/avian
/ last
Method
last
classpath/java/util/TreeSet.java:49–53 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
47
}
48
49
public
T last() {
50
if
(isEmpty()) throw
new
NoSuchElementException();
51
52
return
set.last().value().value;
53
}
54
55
public
Iterator<T> iterator() {
56
return
new
MyIterator<T>(set.first());
Callers
nothing calls this directly
Calls
3
isEmpty
Method · 0.95
last
Method · 0.65
value
Method · 0.45
Tested by
no test coverage detected