src/main/java/com/austinv11/persistence/FailableValue.java
@Nonnull static <T> FailableValue<T> succeeded(@Nullable T obj) {
		return new FailableValue<T>() {
			@Override
			public boolean didFail() {
				return false;
			}
			
			@Nullable
			@Override
			public T value() {
				return obj;
			}
		};
	}
/**
	 * This generates a {@link FailableValue} which is in a success state.
	 *
	 * @param obj The object to put in the value (nullable).
	 * @return The succeeded, {@link FailableValue}.
	 */
This generates a  FailableValue which is in a success state.
@param obj The object to put in the value (nullable).
@return The succeeded,  FailableValue.
This generates a FailableValue which is in a success state . @param obj The object to put in the value ( nullable ) . @return The succeeded FailableValue .
@Nonnull static <T> FailableValue<T> succeeded(@Nullable T obj) {
		return new FailableValue<T>() {
			@Override
			public boolean didFail() {
				return false;
			}
			@Nullable
			@Override
			public T value() {
				return obj;
			}
		};
	}
@ Nonnull static < T > FailableValue < T > succeeded ( @ Nullable T obj ) { return new FailableValue < T > ( ) { @ Override public boolean didFail ( ) { return false ; } @ Nullable @ Override public T value ( ) { return obj ; } } ; }
This generates a {@link FailableValue} which is in a success state.
This generates a { @link FailableValue } which is in a success state .