Interface IOToIntFunction<T>

Type Parameters:
T - Input type
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 IOToIntFunction<T>
Functional interface similar to ToIntFunction but allowing an IOException to be thrown.
  • Method Summary

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

    • applyAsInt

      int applyAsInt(T value) throws IOException
      Apply this function to the argument.
      Parameters:
      value - argument
      Returns:
      int value
      Throws:
      IOException - if an I/O error occurs