se.kuseman.payloadbuilder.api.expression.IArithmeticUnaryExpression Maven / Gradle / Ivy
The newest version!
package se.kuseman.payloadbuilder.api.expression;
/** Arithmetic unary expression */
public interface IArithmeticUnaryExpression extends IUnaryExpression
{
/** Get type of expression */
Type getArithmeticType();
/** Type */
public enum Type
{
PLUS("+"),
MINUS("-");
private final String sign;
Type(String sign)
{
this.sign = sign;
}
public String getSign()
{
return sign;
}
}
}