com.annimon.stream.function.ToIntFunction Maven / Gradle / Ivy
package com.annimon.stream.function;
/**
* Represents a function which produces an {@code int}-valued result from input argument.
*
* @param the type of the input of the function
* @see Function
*/
public interface ToIntFunction {
/**
* Applies this function to the given argument.
*
* @param t an argument
* @return the function result
*/
int applyAsInt(T t);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy