I1
- The first input parameter type.I2
- The second input parameter type.O
- The type of object the function returns.public interface Fn2<I1,I2,O> extends Serializable
I1
and I2
, and
returning a value of type O
.
ƒ(I1,I2) ∈ OThis function type is often referred to as a "reducer" as it yields one value based on two input values, and it can be applied recursively to reduce an arbitrary amount of elements to one.
Modifier and Type | Method and Description |
---|---|
O |
$(I1 first,
I2 second)
Applies the function.
|
Copyright © 2016. All Rights Reserved.