- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
ContextAction.BiConsumer<T1 extends PsyObject,
T2 extends PsyObject> static interface
ContextAction.BiFunction<T1 extends PsyObject,
T2 extends PsyObject> static interface
ContextAction.Consumer<T extends PsyObject>
static interface
ContextAction.Function<T extends PsyObject>
static interface
ContextAction.OptionalFunction<T extends PsyObject>
static interface
static interface
static interface
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T1 extends PsyObject,
T2 extends PsyObject>
ContextActionofBiConsumer
(ContextAction.BiConsumer<T1, T2> biConsumer) static <T1 extends PsyObject,
T2 extends PsyObject>
ContextActionofBiFunction
(ContextAction.BiFunction<T1, T2> biFunction) static <T extends PsyObject>
ContextActionofConsumer
(ContextAction.Consumer<T> consumer) static <T extends PsyObject>
ContextActionofFunction
(ContextAction.Function<T> function) static <T extends PsyObject>
ContextActionofOptionalFunction
(ContextAction.OptionalFunction<T> optionalFunction) static ContextAction
ofSupplier
(ContextAction.Supplier supplier) static <T1 extends PsyObject,
T2 extends PsyObject, T3 extends PsyObject>
ContextActionofTriConsumer
(ContextAction.TriConsumer<T1, T2, T3> triConsumer) static <T1 extends PsyObject,
T2 extends PsyObject, T3 extends PsyObject>
ContextActionofTriFunction
(ContextAction.TriFunction<T1, T2, T3> triFunction) void
perform
(PsyContext oContext)
-
Method Details
-
perform
- Throws:
PsyErrorException
-
ofConsumer
-
ofSupplier
-
ofBiConsumer
static <T1 extends PsyObject,T2 extends PsyObject> ContextAction ofBiConsumer(ContextAction.BiConsumer<T1, T2> biConsumer) -
ofTriConsumer
static <T1 extends PsyObject,T2 extends PsyObject, ContextAction ofTriConsumerT3 extends PsyObject> (ContextAction.TriConsumer<T1, T2, T3> triConsumer) -
ofFunction
-
ofOptionalFunction
static <T extends PsyObject> ContextAction ofOptionalFunction(ContextAction.OptionalFunction<T> optionalFunction) -
ofBiFunction
static <T1 extends PsyObject,T2 extends PsyObject> ContextAction ofBiFunction(ContextAction.BiFunction<T1, T2> biFunction) -
ofTriFunction
static <T1 extends PsyObject,T2 extends PsyObject, ContextAction ofTriFunctionT3 extends PsyObject> (ContextAction.TriFunction<T1, T2, T3> triFunction)
-