code: public static <T extends Comparable<T>> RelationalOperator<T> greaterThanAndLessThan(T lowerBound, T upperBound) {
      return ComposableRelationalOperator.compose(greaterThan(lowerBound), LogicalOperator.AND, lessThan(upperBound));
    }
docs: Gets the RelationalOperator performing greater than and less than comparisons to determine whether all provided
  values are greater than some lower bound value and also less than some upper bound value.
  
  @param lowerBound the Comparable lower bounded value.
  @param upperBound the Comparable upper bounded value.
  @param <T> the expected Class type for the object used in the greater than and less than comparison.
  @return a RelationalOperator for the greater than and less than comparison.