@FunctionalInterface
public interface ToCharFunction<T>
Function
that produces a char
value for an input value of a given type.
Adapted from ToIntFunction
and the like.Modifier and Type | Method and Description |
---|---|
char |
applyAsChar(T v)
Apply this function to the given input value.
|
char applyAsChar(T v)