Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/antlr/codebuff
/ getLastInNonemptyList
Method
getLastInNonemptyList
output/java_guava/1.4.19/Iterables.java:861–863 ·
view source on GitHub ↗
(List<T> list)
Source
from the content-addressed store, hash-verified
859
}
860
861
private
static
<T> T getLastInNonemptyList(List<T> list) {
862
return
list.get(list.size() - 1);
863
}
864
865
/**
866
* Returns a view of {@code iterable} that skips its first
Callers
1
getLast
Method · 0.95
Calls
2
get
Method · 0.65
size
Method · 0.65
Tested by
no test coverage detected