comefrom: <awangdev>13. Roman to Integer_2.java
code: private int getPlainSum(String s) {
  
          int sum = 0;
          for (int i = 0; i < s.length(); i++) {
              switch(s.charAt(i)) {
                  case 'I': sum += 1; break;
                  case 'V': sum += 5; break;
                  case 'X': sum += 10; break;
                  case 'L': sum += 50; break;
                  case 'C': sum += 100; break;
                  case 'D': sum += 500; break;                
                  case 'M': sum += 1000; break;
                  default: return 0;
              }
          }
          return sum;
      }
masked: private int sample_funcname ( String var_1 ) {
    int var_3 = 0 ;
    for ( int var_4 = 0 ;
    var_4 < var_1 . length ( ) ;
    var_4 ++ ) {
      switch ( var_1 . charAt ( var_4 ) ) {
        case 'I' : var_3 += 1 ;
        break ;
        case 'V' : var_3 += 5 ;
        break ;
        case 'X' : var_3 += 10 ;
        break ;
        case 'L' : var_3 += 50 ;
        break ;
        case 'C' : var_3 += 100 ;
        break ;
        case 'D' : var_3 += 500 ;
        break ;
        case 'M' : var_3 += 1000 ;
        break ;
        default : return 0 ;
      }
    }
    return var_3 ;
  }
  