public String translate(Between b) {
        final Expression and = b.getAnd();
        final Expression column = b.getColumn();
        inject(and, column);

        String modifier = "BETWEEN";
        if (b.isNot()) {
            modifier = "NOT " + modifier;
        }

        String result = String.format("%s %s %s", column.translate(), modifier, and.translate());

        if (b.isEnclosed()) {
            result = "(" + result + ")";
        }

        return result;
    }
public String translate ( Between b ) { final Expression and = b . getAnd ( ) ; final Expression column = b . getColumn ( ) ; inject ( and , column ) ; String modifier = "BETWEEN" ; if ( b . isNot ( ) ) { modifier = "NOT " + modifier ; } String result = String . format ( "%s %s %s" , column . translate ( ) , modifier , and . translate ( ) ) ; if ( b . isEnclosed ( ) ) { result = "(" + result + ")" ; } return result ; }
Translates {@link Between}.

@param b The object to translate.
@return The string representation of the given object.