package org.nfunk.jep;

import org.nfunk.jep.function.PostfixMathCommandI;

public class Operator {
  private String name;
  
  private String symbol;
  
  private PostfixMathCommandI pfmc;
  
  private Operator() {}
  
  public Operator(String paramString, PostfixMathCommandI paramPostfixMathCommandI) {
    this();
    this.name = paramString;
    this.pfmc = paramPostfixMathCommandI;
    this.symbol = paramString;
  }
  
  public Operator(String paramString1, String paramString2, PostfixMathCommandI paramPostfixMathCommandI) {
    this();
    this.name = paramString1;
    this.pfmc = paramPostfixMathCommandI;
    this.symbol = paramString2;
  }
  
  public final String getSymbol() {
    return this.symbol;
  }
  
  public final String getName() {
    return this.name;
  }
  
  public final PostfixMathCommandI getPFMC() {
    return this.pfmc;
  }
  
  public final void setPFMC(PostfixMathCommandI paramPostfixMathCommandI) {
    this.pfmc = paramPostfixMathCommandI;
  }
  
  public String toString() {
    return "Operator: \"" + this.name + "\"";
  }
}
