Interface Result<T,E>

Type Parameters:
T - type of successful result
E - type of error result
All Superinterfaces:
Supplier<T>
All Known Implementing Classes:
Result.Error, Result.Success

public interface Result<T,E> extends Supplier<T>
A tagged union representing either a successful result or an error.