All Downloads are FREE. Search and download functionalities are using the official Maven repository.

persistence.antlr.collections.impl.IntRange Maven / Gradle / Ivy

The newest version!
package persistence.antlr.collections.impl;

/* ANTLR Translator Generator
 * Project led by Terence Parr at http://www.jGuru.com
 * Software rights: http://www.antlr.org/license.html
 *
 */

public class IntRange {
    int begin, end;


    public IntRange(int begin, int end) {
        this.begin = begin;
        this.end = end;
    }

    public String toString() {
        return begin + ".." + end;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy