com.github.tommyettinger.function.CharToFloatFunction Maven / Gradle / Ivy
package com.github.tommyettinger.function;
/**
* Represents an operation on a single {@code char}-valued operand that produces
* a {@code float}-valued result.
*
* This is a functional interface whose functional method is {@link #applyAsFloat(char)}.
*/
@FunctionalInterface
public interface CharToFloatFunction {
/**
* Applies this function to the given argument.
*
* @param value the function argument
* @return the function result
*/
float applyAsFloat(char value);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy