public static Predicate < MonetaryAmount > isBetween ( MonetaryAmount min , MonetaryAmount max ) { return isLessThanOrEqualTo ( max ) . and ( isGreaterThanOrEqualTo ( min ) ) ; }
Creates a filter using the isBetween predicate .