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

com.annimon.stream.function.IntFunction Maven / Gradle / Ivy

package com.annimon.stream.function;

/**
 * Represents a function that accepts an int-valued argument and produces a
 * result.  This is the {@code int}-consuming primitive specialization for
 * {@link Function}.
 *
 * 

This is a functional interface * whose functional method is {@link #apply(int)}. * * @param the type of the result of the function * * @see Function */ @FunctionalInterface public interface IntFunction { /** * Applies this function to the given argument. * * @param value the function argument * @return the function result */ R apply(int value); }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy