MCPcopy 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_whenSomeMethod · 0.45
testOrOption_whenNoneMethod · 0.45

Calls

no outgoing calls

Tested by 2

testOrOption_whenSomeMethod · 0.36
testOrOption_whenNoneMethod · 0.36