Interface CharToIntFunction

Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface CharToIntFunction
Functional interface to apply a function to a single char input and produce a single int result.
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    applyAsInt(char value)
    Apply this function to value.
  • Method Details

    • applyAsInt

      int applyAsInt(char value)
      Apply this function to value.
      Parameters:
      value - The char input
      Returns:
      The int result