Package net.jqwik.api.support
Klasse LambdaSupport
java.lang.Object
net.jqwik.api.support.LambdaSupport
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungstatic <T> boolean
areEqual
(T l1, T l2) This method is used in Object.equals(Object) implementations of Arbitrary types to allow memoization of generators.
-
Methodendetails
-
areEqual
public static <T> boolean areEqual(T l1, T l2) This method is used in Object.equals(Object) implementations of Arbitrary types to allow memoization of generators.Comparing two lambdas by their implementation class works if they don't access an enclosing object's state. When in doubt, fail comparison.
-