Interface Result<T,​E>


  • public interface Result<T,​E>
    • Method Detail

      • ok

        static <T,​E> Result<T,​E> ok​(T value)
      • err

        static <T,​E> Result<T,​E> err​(E error)
      • isOk

        boolean isOk()
      • isErr

        default boolean isErr()
      • unwrap

        T unwrap()
      • unwrapErr

        E unwrapErr()