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

de.is24.guava.NonNullFunction Maven / Gradle / Ivy

There is a newer version: 2.1.0
Show newest version
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