io.deephaven.engine.primitive.function.CharToIntFunction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of deephaven-engine-primitive Show documentation
Show all versions of deephaven-engine-primitive Show documentation
Primitives: Expanding upon java.util.PrimitiveIterator and java.util.function.* for {byte, char, float, short}
package io.deephaven.engine.primitive.function;
/**
* Functional interface to apply a function to a single {@code char} input and produce a single {@code int} result.
*/
@FunctionalInterface
public interface CharToIntFunction {
/**
* Apply this function to {@code value}.
*
* @param value The {@code char} input
* @return The {@code int} result
*/
int applyAsInt(char value);
}