public static < T extends Comparable < T > > RelationalOperator < T > lessThanEqualToOrGreaterThan ( T lowerBound , T upperBound ) { return ComposableRelationalOperator . compose ( lessThanEqualTo ( lowerBound ) , LogicalOperator . OR , greaterThan ( upperBound ) ) ; }
Gets the RelationalOperator performing less than equal to or greater than comparisons to determine whether all provided values are less than equal to some upper bound value or possibly greater than some lower bound value .