# Uses of Interface
org.apache.commons.io.function.IOUnaryOperator

Packages that use IOUnaryOperator
Package
Description
org.apache.commons.io.function
Provides IO-only related functional interfaces for lambda expressions and method references.
org.apache.commons.io.input
Provides implementations of input classes, such as `InputStream` and `Reader`.

- ## Uses of IOUnaryOperator in org.apache.commons.io.function

  Methods in org.apache.commons.io.function that return IOUnaryOperator
  Modifier and Type
  Method
  Description
  `static <T> IOUnaryOperator<T>`
  IOUnaryOperator.`identity()`
  Creates a unary operator that always returns its input argument.
  Methods in org.apache.commons.io.function with parameters of type IOUnaryOperator
  Modifier and Type
  Method
  Description
  `static <T> IOStream<T>`
  IOStream.`iterate(T seed, IOUnaryOperator<T> f)`
  Like `Stream.iterate(Object, UnaryOperator)` but for IO.

- ## Uses of IOUnaryOperator in org.apache.commons.io.input

  Methods in org.apache.commons.io.input with parameters of type IOUnaryOperator
  Modifier and Type
  Method
  Description
  `CloseShieldInputStream.Builder`
  CloseShieldInputStream.Builder.`setOnClose(IOUnaryOperator<InputStream> onClose)`
  Sets the `onClose` function.