Package fj.data

Interface SafeIO<A>

  • All Superinterfaces:
    IO<A>, Try0<A,​java.io.IOException>
    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 SafeIO<A>
    extends IO<A>
    • Method Detail

      • run

        A run()
        Specified by:
        run in interface IO<A>
      • f

        default A f()
        Specified by:
        f in interface IO<A>
        Specified by:
        f in interface Try0<A,​java.io.IOException>