Class JavaScriptDslBiConsumer<T,U>
java.lang.Object
org.apache.camel.quarkus.dsl.js.runtime.JavaScriptDslBiConsumer<T,U>
- Type Parameters:
T- the type of the first argument to the operationU- the type of the second argument to the operation
- All Implemented Interfaces:
BiConsumer<T,U>
JavaScriptDslBiConsumer is meant to be used as type of BiConsumer from a JavaScript file to remain
compatible
with the native mode that doesn't support the function Java.extend.-
Constructor Summary
ConstructorsConstructorDescriptionJavaScriptDslBiConsumer(CharSequence source) Construct aJavaScriptDslBiConsumerwith the given source,tas first argument name anduas second argument.JavaScriptDslBiConsumer(String firstArgumentName, String secondArgumentName, CharSequence source) Construct aJavaScriptDslBiConsumerwith the given source and argument names. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.function.BiConsumer
andThen
-
Constructor Details
-
JavaScriptDslBiConsumer
Construct aJavaScriptDslBiConsumerwith the given source,tas first argument name anduas second argument.- Parameters:
source- the source of the consumer.
-
JavaScriptDslBiConsumer
public JavaScriptDslBiConsumer(String firstArgumentName, String secondArgumentName, CharSequence source) Construct aJavaScriptDslBiConsumerwith the given source and argument names.- Parameters:
firstArgumentName- the name of the first argument.secondArgumentName- the name of the second argument.source- the source of the consumer.
-
-
Method Details
-
accept
- Specified by:
acceptin interfaceBiConsumer<T,U>
-