public abstract static class Osgl.V5<P1,P2,P3,P4,P5> extends Osgl.F5<P1,P2,P3,P4,P5,Void>
| Constructor and Description |
|---|
V5() |
| Modifier and Type | Method and Description |
|---|---|
Void |
apply(P1 p1,
P2 p2,
P3 p3,
P4 p4,
P5 p5)
Run the function with parameters specified.
|
abstract void |
visit(P1 p1,
P2 p2,
P3 p3,
P4 p4,
P5 p5) |
andThen, andThen, applyOrElse, curry, curry, curry, curry, curry, lift, orElsebreakOutpublic final Void apply(P1 p1, P2 p2, P3 p3, P4 p4, P5 p5) throws NotAppliedException, Osgl.Break
Osgl.Func5In case implementing a partial function, it can throw out an
NotAppliedException if the function is not defined for
the given parameter(s)
p1 - first argumentp2 - second argumentp3 - third argumentp4 - fourth argumentp5 - fifth argumentRNotAppliedException - if the function doesn't apply to the parameter(s)Osgl.Break - to short cut collecting operations (fold/reduce) on an containerCopyright © 2017. All Rights Reserved.