Package org.cactoos
Interface BiFunc<X,Y,Z>
-
- Type Parameters:
X
- Type of inputY
- Type of inputZ
- Type of output
- All Known Implementing Classes:
BiFuncEnveloppe
,BiFuncNoNulls
,BiFuncOf
,CheckedBiFunc
,IoCheckedBiFunc
,SolidBiFunc
,StickyBiFunc
,SyncBiFunc
,UncheckedBiFunc
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface BiFunc<X,Y,Z>
Function that accepts two arguments.If you don't want to have any checked exceptions being thrown out of your
BiFunc
, you can useUncheckedBiFunc
decorator. Also you may tryIoCheckedBiFunc
.There is no thread-safety guarantee.
- Since:
- 0.9
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Z
apply(X first, Y second)
Apply it.
-