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

com.bloxbean.cardano.client.util.CheckedFunction Maven / Gradle / Ivy

The newest version!
package com.bloxbean.cardano.client.util;

/**
 * A functional interface that represents a function which may throw a checked exception.
 * This is useful in scenarios where you want to use lambda expressions or method references
 * that throw checked exceptions, particularly in stream operations or other functional contexts.
 *
 * @param  The type of the input to the function.
 */
@FunctionalInterface
public interface CheckedFunction {
    T apply() throws Exception;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy