/** * Fail trivially, yielding {@code x}. * * @param x The result * @param <F> The type of failure values. * @param <S> The type of success values. * * @return A computation that yields {@code x}. */ public static <F, S> TryType<F, S> failure( final F x) { return Failure.failure(x); }