Interface OperatorWithException<T>

  • All Superinterfaces:
    java.util.function.Function<T,​T>, java.util.function.UnaryOperator<T>
    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 interface OperatorWithException<T>
    extends java.util.function.UnaryOperator<T>
    • Method Detail

      • apply

        default T apply​(T type)
        Specified by:
        apply in interface java.util.function.Function<T,​T>
      • invoke

        T invoke​(T type)
          throws java.lang.Exception
        Throws:
        java.lang.Exception