com.spencerwi.either.ExceptionThrowingSupplier Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of Either.java Show documentation
Show all versions of Either.java Show documentation
A right-biased implementation of "Either a b" for Java, using Java 8 for mapping/folding and type inference.
package com.spencerwi.either;
import java.lang.FunctionalInterface;
@FunctionalInterface
public interface ExceptionThrowingSupplier {
T get() throws Exception;
}