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.
@FunctionalInterface public interface BiConsumer<@NonNull T1,@NonNull T2>
A functional interface (callback) that accepts two values (of possibly different types).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
accept(@NonNull T1 t1, @NonNull T2 t2)
Performs an operation on the given values.
-