public abstract static class Lang.V3<P1,P2,P3> extends Lang.F3<P1,P2,P3,Void>
| Constructor and Description |
|---|
V3() |
| Modifier and Type | Method and Description |
|---|---|
Void |
apply(P1 p1,
P2 p2,
P3 p3)
Run the function with parameters specified.
|
abstract void |
visit(P1 p1,
P2 p2,
P3 p3) |
andThen, andThen, applyOrElse, curry, curry, curry, lift, orElsebreakOutpublic final Void apply(P1 p1, P2 p2, P3 p3) throws NotAppliedException, Lang.Break
Lang.Func3Run the function with parameters specified.
In case implementing a partial function, it can throw out an NotAppliedException if the function is not defined for the given parameter(s)
p1 - argument 1p2 - argument 2p3 - argument 3NotAppliedException - if the function doesn’t apply to the parameter(s)Lang.Break - to short cut collecting operations (fold/reduce) on an containerCopyright © 2014–2019 OSGL (Open Source General Library). All rights reserved.