com.bloxbean.cardano.client.util.CheckedFunction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cardano-client-common Show documentation
Show all versions of cardano-client-common Show documentation
Cardano Client Lib - Common Module
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