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 predicate
U - the type of the second argument to the predicate
All Implemented Interfaces:
BiPredicate<T,U>

public final class JavaScriptDslBiPredicate<T,U> extends Object implements 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 Details

    • JavaScriptDslBiPredicate

      public JavaScriptDslBiPredicate(CharSequence source)
      Construct a JavaScriptDslBiPredicate with the given source, t as first argument name and u as second argument.
      Parameters:
      source - the source of the predicate.
    • JavaScriptDslBiPredicate

      public JavaScriptDslBiPredicate(String firstArgumentName, String secondArgumentName, CharSequence source)
      Construct a JavaScriptDslBiPredicate with 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