Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/tomaszpolanski/Options
/ first
Method
first
options/core/src/main/java/polanski/option/Some.java:182–185 ·
view source on GitHub ↗
(@NotNull final List<T> options)
Source
from the content-addressed store, hash-verified
180
}
181
182
@NotNull
183
private
static
<T> T first(@NotNull
final
List<T> options) {
184
return
options.get(0);
185
}
186
187
@NotNull
188
private
static
<T> List<T> tail(@NotNull
final
List<T> options) {
Callers
1
lift
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected