Interface ContextAction.OptionalFunction<T extends PsyObject>

Type Parameters:
T - the type of the input to the function.
Enclosing interface:
ContextAction
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface ContextAction.OptionalFunction<T extends PsyObject>
Represents a function that accepts one argument and produces an optional result.
  • Method Summary

    Modifier and Type
    Method
    Description
    Optional<? extends PsyObject>
    apply(T o)
    Applies this function to the given argument.
  • Method Details