Interface TryOf<T>

All Superinterfaces:
Kind<Try<?>,T>
All Known Subinterfaces:
Try<T>
All Known Implementing Classes:
Try.Failure, Try.Success

@Generated("com.github.tonivade.purefun.processor.HigherKindProcessor") public sealed interface TryOf<T> extends Kind<Try<?>,T> permits Try<T>
  • Method Summary

    Static Methods
    Modifier and Type
    Method
    Description
    static <T> Try<T>
    toTry(Kind<Try<?>,? extends T> value)
     

    Methods inherited from interface com.github.tonivade.purefun.Kind

    fix, kind
  • Method Details

    • toTry

      static <T> Try<T> toTry(Kind<Try<?>,? extends T> value)