Package org.cactoos
Interface BiProc<X,Y>
-
- Type Parameters:
X
- Type of inputY
- Type of input
- All Known Implementing Classes:
BiProcEnvelope
,BiProcNoNulls
,BiProcOf
,CheckedBiProc
,IoCheckedBiProc
,UncheckedBiProc
- 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 BiProc<X,Y>
Proc that accepts two arguments.If you don't want to have any checked exceptions being thrown out of your
BiProc
, you can useUncheckedBiProc
decorator. Also you may tryIoCheckedBiProc
.There is no thread-safety guarantee.
- Since:
- 0.20
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
exec(X first, Y second)
Execute it.
-