
de.is24.guava.NonNullFunction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of deadcode4j-maven-plugin Show documentation
Show all versions of deadcode4j-maven-plugin Show documentation
Finds unused classes of a project
package de.is24.guava;
import javax.annotation.Nonnull;
/**
* A NonNullFunction
basically is a {@link com.google.common.base.Function} that
* neither accepts null
nor is it allowed to return null
.
*
* @since 2.0.0
*/
public interface NonNullFunction {
/**
* Returns the result of applying this function to the given input.
*
* @since 2.0.0
*/
@Nonnull
T apply(@Nonnull F input);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy