All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.blackdread.cameraframework.api.CallableCommand Maven / Gradle / Ivy

There is a newer version: 1.2.0
Show newest version
package org.blackdread.cameraframework.api;

/**
 * Similar to {@link java.util.concurrent.Callable} but fits command exception contract
 * 

Created on 2018/12/09.

* * @param the result type of method {@code call} * @author Yoann CAPLAIN * @since 1.0.0 */ @FunctionalInterface public interface CallableCommand { /** * Computes a result, or throws an exception if unable to do so. * * @return computed result * @throws InterruptedException if interrupted */ R call() throws InterruptedException; }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy