FunctionRaisingIOE (Apache Hadoop Common 3.5.0 API)
Description: declaration: package: org.apache.hadoop.util.functional, interface: FunctionRaisingIOE

Package org.apache.hadoop.util.functional

# Interface FunctionRaisingIOE<T,R>

Type Parameters:
  `T` - type of arg1
  `R` - type of return value.

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 FunctionRaisingIOE<T,R>
Function of arity 1 which may raise an IOException.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `R`
  `apply(T t)`
  Apply the function.
  `default R`
  `unchecked(T t)`
  Apply unchecked.

- ## Method Details

  - ### apply

    R apply(T t) throws IOException
    Apply the function.
    Parameters:
      `t` - argument 1
    Returns:
      result
    Throws:
      `IOException` - Any IO failure

  - ### unchecked

    default R unchecked(T t)
    Apply unchecked.
    Parameters:
      `t` - argument
    Returns:
      the evaluated function
    Throws:
      `UncheckedIOException` - IOE raised.