Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/tomaszpolanski/Options
/ flatMap
Method
flatMap
options/core/src/main/java/polanski/option/Some.java:61–65 ·
view source on GitHub ↗
(@NotNull final Func1<T, Option<OUT>> f)
Source
from the content-addressed store, hash-verified
59
}
60
61
@NotNull
62
@Override
63
public
<OUT> Option<OUT> flatMap(@NotNull
final
Func1<T, Option<OUT>> f) {
64
return
f.call(mValue);
65
}
66
67
@NotNull
68
@Override
Callers
3
testFlatMap_whenSome
Method · 0.45
testFlatMapSome_whenFailed
Method · 0.45
testFlatMap_whenNone
Method · 0.45
Calls
1
call
Method · 0.65
Tested by
3
testFlatMap_whenSome
Method · 0.36
testFlatMapSome_whenFailed
Method · 0.36
testFlatMap_whenNone
Method · 0.36