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

- Packages that use IOComparator
  Package | Description
  --- | ---
  org.apache.commons.io.function | Provides IO-only related functional interfaces for lambda expressions and method references.

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

    Methods in org.apache.commons.io.function that return IOComparator
    Modifier and Type | Method and Description
    --- | ---
    `default IOComparator<? super T>` | IOSpliterator.`getComparator()` Like `Spliterator.getComparator()`.

    Methods in org.apache.commons.io.function with parameters of type IOComparator
    Modifier and Type | Method and Description
    --- | ---
    `static <T> int` | Uncheck.`compare(IOComparator<T> comparator, T t, T u)` Compares the arguments with the comparator.
    `default Optional<T>` | IOStream.`max(IOComparator<? super T> comparator)` Like `Stream.max(java.util.Comparator)`.
    `static <T> IOBinaryOperator<T>` | IOBinaryOperator.`maxBy(IOComparator<? super T> comparator)` Creates a `IOBinaryOperator` which returns the greater of two elements according to the specified `Comparator`.
    `default Optional<T>` | IOStream.`min(IOComparator<? super T> comparator)` Like `Stream.min(java.util.Comparator)`.
    `static <T> IOBinaryOperator<T>` | IOBinaryOperator.`minBy(IOComparator<? super T> comparator)` Creates a `IOBinaryOperator` which returns the lesser of two elements according to the specified `Comparator`.
    `default IOStream<T>` | IOStream.`sorted(IOComparator<? super T> comparator)` Like `Stream.sorted(java.util.Comparator)`.

Copyright © 2002–2023 The Apache Software Foundation. All rights reserved.