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

com.rbmhtechnology.vind.parser.queryparser.RangeLiteral Maven / Gradle / Ivy

There is a newer version: 3.2.0
Show newest version
package com.rbmhtechnology.vind.parser.queryparser;

public abstract class RangeLiteral extends SimpleLiteral{
    public static final String WILDCARD = "*";
    protected Object from;
    protected Object to;

    public abstract Object getFrom();

    public abstract Object getTo();

    @Override
    public String toString() {
        final String stringFrom = from != null? from.toString() : "*" ;
        final String stringTo = to != null? to.toString() : "*" ;
        return "[ " + stringFrom + " TO "+ stringTo + " ]";
    }


}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy