How do I generate a range of tokenized numeric values?

This example shows you how to generate a range of tokenized numeric values.
package net.javaiq.examples.math;


/**
 * This class demonstrates on how to generate a range of tokenized numeric values.
 * @author JavaIQ.net
 * Creation Date Dec 10, 2010
 */
public class RangeValuesGenerator {

    /**
     * @param low : Double -- the starting number
     * @param high : Double -- the ending number
     * @param token : String -- the token which separates the numbers
     * @return tokenizedRange : String -- the generated range
     */
    public static String generateRangeValuesAsString(Double low, Double high, String token) {
        StringBuffer tokenizedRange = new StringBuffer("");
        if (low != null && high != null && token != null && high > low) {
            for (; low <= high; low++) {
                tokenizedRange.append(low);
                if (low != high) {
                    tokenizedRange.append(token);
                }
            }
        }
        return tokenizedRange.toString();
    }

    /**
     * Method to test other methods in the class with sample inputs
     * @param args
     */
    public static void main(String[] args) {
        String rangeValuesCsv = generateRangeValuesAsString(1.0, 7.0, ",");
        System.out.println(rangeValuesCsv);
    }
}