The Predicate interface is a skinned-down clone of Java 8 functional interface java.util.function.Predicate.
Should be resolved by renaming this element to MonetaryPredicate. Using an identical method signature (only test() method so far) allowing seamless integration of Java 8 Lambdas (MonetaryPredicate extends Predicate) and eventual elimination of this part of JavaMoney without affecting third party codebase.
i.E. classes like MonetaryCalculations would then use java.util.function.Predicate instead of MonetaryPredicate.
The Predicate interface is a skinned-down clone of Java 8 functional interface java.util.function.Predicate.
Should be resolved by renaming this element to MonetaryPredicate. Using an identical method signature (only test() method so far) allowing seamless integration of Java 8 Lambdas (MonetaryPredicate extends Predicate) and eventual elimination of this part of JavaMoney without affecting third party codebase. i.E. classes like MonetaryCalculations would then use java.util.function.Predicate instead of MonetaryPredicate.