org.unlaxer.tinyexpression.parser.MinusParser Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of tinyExpression Show documentation
Show all versions of tinyExpression Show documentation
TinyExpression implemented with Unlaxer
package org.unlaxer.tinyexpression.parser;
import org.unlaxer.parser.elementary.SingleCharacterParser;
public class MinusParser extends SingleCharacterParser implements NumberExpression{
private static final long serialVersionUID = 5176595050631172291L;
public static MinusParser SINGLETON = new MinusParser();
@Override
public boolean isMatch(char target) {
return '-' == target;
}
}