Package io.reactivex.rxjava3.functions
Interface BiConsumer<T1,T2>
- Type Parameters:
T1- the first value typeT2- the second value type
- All Known Implementing Classes:
Functions.ToMapKeySelector,Functions.ToMapKeyValueSelector,Functions.ToMultimapKeyValueSelector
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A functional interface (callback) that accepts two values (of possibly different types).
-
Method Summary
-
Method Details
-
accept
Performs an operation on the given values.- Parameters:
t1- the first valuet2- the second value- Throws:
Throwable- if the implementation wishes to throw any type of exception
-