Package | Description |
---|---|
org.apache.commons.io.function |
Provides IO-only related functional interfaces for lambda expressions and method references.
|
Modifier and Type | Method and Description |
---|---|
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 . |
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 . |
Modifier and Type | Method and Description |
---|---|
default Optional<T> |
IOStream.reduce(IOBinaryOperator<T> accumulator)
|
default T |
IOStream.reduce(T identity,
IOBinaryOperator<T> accumulator)
|
default <U> U |
IOStream.reduce(U identity,
IOBiFunction<U,? super T,U> accumulator,
IOBinaryOperator<U> combiner)
|
Copyright © 2002–2023 The Apache Software Foundation. All rights reserved.