org.unlaxer.tinyexpression.parser.PlusParser 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 PlusParser extends SingleCharacterParser implements NumberExpression {
private static final long serialVersionUID = -2284625778872306935L;
public static PlusParser SINGLETON = new PlusParser();
@Override
public boolean isMatch(char target) {
return '+' == target;
}
}