Class JavaScriptDslBiPredicate<T,U>
java.lang.Object
org.apache.camel.quarkus.dsl.js.runtime.JavaScriptDslBiPredicate<T,U>
- Type Parameters:
T- the type of the first argument to the predicateU- the type of the second argument to the predicate
- All Implemented Interfaces:
BiPredicate<T,U>
JavaScriptDslBiPredicate is meant to be used as type of BiPredicate from a JavaScript file to remain
compatible
with the native mode that doesn't support the function Java.extend.-
Constructor Summary
ConstructorsConstructorDescriptionJavaScriptDslBiPredicate(CharSequence source) Construct aJavaScriptDslBiPredicatewith the given source,tas first argument name anduas second argument.JavaScriptDslBiPredicate(String firstArgumentName, String secondArgumentName, CharSequence source) Construct aJavaScriptDslBiPredicatewith 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.BiPredicate
and, negate, or
-
Constructor Details
-
JavaScriptDslBiPredicate
Construct aJavaScriptDslBiPredicatewith the given source,tas first argument name anduas second argument.- Parameters:
source- the source of the predicate.
-
JavaScriptDslBiPredicate
public JavaScriptDslBiPredicate(String firstArgumentName, String secondArgumentName, CharSequence source) Construct aJavaScriptDslBiPredicatewith 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
-
test
- Specified by:
testin interfaceBiPredicate<T,U>
-