marcel.lang.util.function.Double2ObjectFunction Maven / Gradle / Ivy
package marcel.lang.util.function;
import java.util.function.Function;
@FunctionalInterface
public interface Double2ObjectFunction extends Function, java.util.function.DoubleFunction {
/**
* {@inheritDoc}
*
* @since 8.0.0
*/
@Override
V apply(double operand);
@Override
default V apply(Double d) {
return apply(d.doubleValue());
}
}