Package fj.data

Interface SafeIO<A>

All Superinterfaces:
IO<A>, Try0<A,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 Summary

    Modifier and Type
    Method
    Description
    default A
    f()
     
    run()
     

    Methods inherited from interface fj.data.IO

    append, bind, map, safe

    Methods inherited from interface fj.function.Try0

    toEffect0, toF0, toP1, toTryEffect0
  • Method Details

    • 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,IOException>