org.unlaxer.tinyexpression.parser.QuestionParser 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.StaticParser;
import org.unlaxer.parser.elementary.SingleStringParser;
public class QuestionParser extends SingleStringParser implements StaticParser{
private static final long serialVersionUID = -4216337360898475211L;
@Override
public boolean isMatch(String target) {
return "?".equals(target);
}
}