Interface Try<E>

All Known Implementing Classes:
Failure, Success

public interface Try<E>
  • Method Details

    • get

      E get()
    • ifFailure

      Try<E> ifFailure(Supplier<Try<E>> supplier)
    • isSuccess

      default boolean isSuccess()
    • isFailure

      default boolean isFailure()