| Package | Description |
|---|---|
| org.osgl | |
| org.osgl.storage |
| Modifier and Type | Class and Description |
|---|---|
static class |
Lang.V3<P1,P2,P3> |
| Modifier and Type | Field and Description |
|---|---|
static Lang.F3 |
Lang.F3
A dumb
Lang.Func3 implementation that does nothing and return null |
| Modifier and Type | Method and Description |
|---|---|
static <T1,T2,T3> Lang.F3<T1,T2,T3,Void> |
Lang.F.breakIf(Lang.Func3<? super T1,? super T2,? super T3,Boolean> predicate)
Return a three variables function that throw out a
Lang.Break when a three variables predicate return true on an element been tested. |
static <P,T1,T2,T3> |
Lang.F.breakIf(Lang.Func3<? super T1,? super T2,? super T3,Boolean> predicate,
P payload)
Return a three variables function that throw out a
Lang.Break with payload specified when a three variables predicate return true on an element been tested |
<X1,X2,X3> Lang.F3<X1,X2,X3,R> |
Lang.F1.compose(Lang.Func3<? super X1,? super X2,? super X3,? extends P1> before)
Returns an
F3<X1, X2, X3, R>> function by composing the specified Func3<X1, X2, X3, P1> function with this function applied last |
Lang.F3<P1,P2,P3,R> |
Lang.F4.curry(P4 p4) |
Lang.F3<P1,P2,P3,R> |
Lang.F5.curry(P4 p4,
P5 p5) |
static <P1,P2,P3,R> |
Lang.f3()
The type-safe version of
Lang.F3 |
static <P1,P2,P3,R> |
Lang.f3(Lang.Func3<? super P1,? super P2,? super P3,? extends R> f3)
Convert a general
Lang.Func3 function into a Lang.F3 typed function |
Lang.F3<P1,P2,P3,Lang.Option<R>> |
Lang.F3.lift()
Turns this partial function into a plain function returning an Option result.
|
static <P1,P2,P3> Lang.F3<P1,P2,P3,Boolean> |
Lang.F.negate(Lang.Func3<? super P1,? super P2,? super P3,Boolean> predicate)
Returns a negate function of the specified predicate that applied to 3 parameters and returns boolean value
|
Lang.F3<P1,P2,P3,R> |
Lang.F3.orElse(Lang.Func3<? super P1,? super P2,? super P3,? extends R> fallback)
Returns a composed function that when applied, try to apply this function first, in case a
NotAppliedException is captured apply to the fallback function specified. |
| Modifier and Type | Method and Description |
|---|---|
R |
Lang.F3.applyOrElse(P1 p1,
P2 p2,
P3 p3,
Lang.F3<? super P1,? super P2,? super P3,? extends R> fallback)
Applies this partial function to the given argument when it is contained in the function domain.
|
| Modifier and Type | Method and Description |
|---|---|
static Lang.F3<String,ISObject,IStorageService,Void> |
IStorageService.f.put() |
Copyright © 2014–2021 OSGL (Open Source General Library). All rights reserved.