Interface ShortToIntFunction

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 ShortToIntFunction
Functional interface to apply a function to a single short input and produce a single int result.
  • Method Summary

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

    • applyAsInt

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