Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/tomaszpolanski/Options
/ orOption
Method
orOption
options/core/src/main/java/polanski/option/Some.java:73–77 ·
view source on GitHub ↗
(@NotNull final Func0<Option<T>> f)
Source
from the content-addressed store, hash-verified
71
}
72
73
@NotNull
74
@Override
75
public
Option<T> orOption(@NotNull
final
Func0<Option<T>> f) {
76
return
this;
77
}
78
79
@NotNull
80
@Override
Callers
2
testOrOption_whenSome
Method · 0.45
testOrOption_whenNone
Method · 0.45
Calls
no outgoing calls
Tested by
2
testOrOption_whenSome
Method · 0.36
testOrOption_whenNone
Method · 0.36