Home
last modified time | relevance | path

Searched refs:IOBinaryOperator (Results 1 – 5 of 5) sorted by relevance

/external/apache-commons-io/src/test/java/org/apache/commons/io/function/
DIOBinaryOperatorStreamTest.java40 …private static final IOBinaryOperator<Path> MIN_BY_IO_BO = IOBinaryOperator.minBy(IOComparatorTest…
42 …private static final IOBinaryOperator<Path> MAX_BY_IO_BO = IOBinaryOperator.maxBy(IOComparatorTest…
44 private static final IOBinaryOperator<Path> REAL_PATH_IO_BO = (t, u) -> t.toRealPath();
61 …final IOBinaryOperator<Path> binIoOp = IOBinaryOperator.maxBy((t, u) -> t.toRealPath().compareTo(u… in testMaxBy()
76 …final IOBinaryOperator<Path> binIoOp = IOBinaryOperator.minBy((t, u) -> t.toRealPath().compareTo(u… in testMinBy()
DTestUtils.java54 static <T> IOBinaryOperator<T> throwingIOBinaryOperator() { in throwingIOBinaryOperator()
55 return (IOBinaryOperator<T>) TestConstants.THROWING_IO_BINARY_OPERATOR; in throwingIOBinaryOperator()
DTestConstants.java39 static IOBinaryOperator<?> THROWING_IO_BINARY_OPERATOR = (t, u) -> throwIOException();
/external/apache-commons-io/src/main/java/org/apache/commons/io/function/
DIOBinaryOperator.java35 public interface IOBinaryOperator<T> extends IOBiFunction<T, T, T> { interface
47 static <T> IOBinaryOperator<T> minBy(final IOComparator<? super T> comparator) { in minBy()
62 static <T> IOBinaryOperator<T> maxBy(final IOComparator<? super T> comparator) { in maxBy()
DIOStream.java507 default Optional<T> reduce(final IOBinaryOperator<T> accumulator) throws IOException { in reduce()
520 default T reduce(final T identity, final IOBinaryOperator<T> accumulator) throws IOException { in reduce()
535 … U identity, final IOBiFunction<U, ? super T, U> accumulator, final IOBinaryOperator<U> combiner) … in reduce()