package org.matheclipse.core.reflection.system;
import org.matheclipse.core.expression.F;
import org.matheclipse.core.interfaces.IExpr;
import org.matheclipse.core.interfaces.ISymbol;
import com.google.common.base.Function;
public class PreIncrement extends PreDecrement {
class IncrementFunction implements Function {
@Override
public IExpr apply(final IExpr assignedValue) {
return F.eval(F.Plus(assignedValue, F.C1));
}
}
protected Function getFunction() {
return new IncrementFunction();
}
protected ISymbol getFunctionSymbol() {
return F.PreIncrement;
}
}
Ads help maintain this website.