A throwing supplier.
public interface Fabricator<T, E extends Throwable> {
T fabricate() throws E;
}
This is a part of Ayte utility project. Please read it's documentation to understand code organization better.
Fabricator interface is distributed in artifact
io.ayte.utility.fabricator:api
,
while implementations and Fabricators
helper class reside in
io.ayte.utility.fabricator:kit
.
Project is both java 8 compatible and exports
io.ayte.utility.fabricator.api
and io.ayte.utility.fabricator.kit
modules.
MIT & UPL-1.0
Ayte Labs, 2019
Do whatever you want.