Package org.drools.model.functions
Class Predicate2.Impl<A,B>
- java.lang.Object
-
- org.drools.model.functions.IntrospectableLambda
-
- org.drools.model.functions.Predicate2.Impl<A,B>
-
- All Implemented Interfaces:
Serializable,Supplier<Object>,Predicate2<A,B>
- Enclosing interface:
- Predicate2<A,B>
public static class Predicate2.Impl<A,B> extends IntrospectableLambda implements Predicate2<A,B>
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.drools.model.functions.Predicate2
Predicate2.Impl<A,B>
-
-
Constructor Summary
Constructors Constructor Description Impl(Predicate2<A,B> predicate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetLambda()PredicateInformationpredicateInformation()booleantest(A a, B b)-
Methods inherited from class org.drools.model.functions.IntrospectableLambda
equals, get, hashCode, toString
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.drools.model.functions.Predicate2
negate
-
-
-
-
Constructor Detail
-
Impl
public Impl(Predicate2<A,B> predicate)
-
-
Method Detail
-
test
public boolean test(A a, B b) throws Exception
- Specified by:
testin interfacePredicate2<A,B>- Throws:
Exception
-
getLambda
public Object getLambda()
- Specified by:
getLambdain classIntrospectableLambda
-
predicateInformation
public PredicateInformation predicateInformation()
- Specified by:
predicateInformationin interfacePredicate2<A,B>
-
-