<awangdev>Convert Expression to Polish Notation_1.java
public int getWeight(int base, String s) {
        if (s.equals("+") || s.equals("-")) {
            return base + 1;
        }
        if (s.equals("*") || s.equals("/")) {
            return base + 2;
        }
        return Integer.MAX_VALUE;
    }
public int sample_funcname ( int var_0 , String var_2 ) {
  if ( var_2 . equals ( "+" ) || var_2 . equals ( "-" ) ) {
    return var_0 + 1 ;
  }
  if ( var_2 . equals ( "*" ) || var_2 . equals ( "/" ) ) {
    return var_0 + 2 ;
  }
  return Integer . MAX_VALUE ;
}
