marcel.lang.util.function.Int2ObjectFunction Maven / Gradle / Ivy
package marcel.lang.util.function;
import java.util.function.Function;
@FunctionalInterface
public interface Int2ObjectFunction extends Function, java.util.function.IntFunction {
/**
* {@inheritDoc}
*
* @since 8.0.0
*/
@Override
V apply(int operand);
@Override
default V apply(Integer integer) {
return apply(integer.intValue());
}
}