public abstract static class Lang.V4<P1,P2,P3,P4> extends Lang.F4<P1,P2,P3,P4,Void>
| Constructor and Description |
|---|
V4() |
| Modifier and Type | Method and Description |
|---|---|
Void |
apply(P1 p1,
P2 p2,
P3 p3,
P4 p4)
Run the function with parameters specified.
|
abstract void |
visit(P1 p1,
P2 p2,
P3 p3,
P4 p4) |
andThen, andThen, applyOrElse, curry, curry, curry, curry, lift, orElsebreakOutpublic final Void apply(P1 p1, P2 p2, P3 p3, P4 p4) throws NotAppliedException, Lang.Break
Lang.Func4Run 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 - the first argumentp2 - the second argumentp3 - the third argumentp4 - the fourth argumentRNotAppliedException - 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.