Package io.ultreia.java4all.util
Interface TwoSideContext<S extends TwoSide,O>
-
- All Known Implementing Classes:
TwoSideContext.TowSideContextImpl
public interface TwoSideContext<S extends TwoSide,O>Created at 19/03/2024.- Since:
- 1.1.13
- Author:
- Tony Chemit - dev@tchemit.fr
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classTwoSideContext.TowSideContextImpl<S extends TwoSide,O>
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default TwoSideContext<S,O>flip()Oleft()static <S extends TwoSide,O>
TwoSideContext<S,O>of(O left, O right)default OonOppositeSide(S side)default OonSameSide(S side)Oright()default <V> TwoSideContext<S,V>then(Function<O,V> function)
-
-
-
Method Detail
-
of
static <S extends TwoSide,O> TwoSideContext<S,O> of(O left, O right)
-
left
O left()
-
right
O right()
-
then
default <V> TwoSideContext<S,V> then(Function<O,V> function)
-
flip
default TwoSideContext<S,O> flip()
-
-