<awangdev>639. Decode Ways II_2.java
private int countDouble(char a, char b) {

        if (a == '0' || (a >= '3' && a <= '9')) return 0; 
        
        if (a == '1') return b == '*' ? 9 : 1; 
        if (a == '2') { 
            if (b == '*') return 6;
            if (b <= '6') return 1;
            return 0;
        }
        
        if (b >= '0' && b <= '6') return 2; 
        if (b >= '7' && b <= '9') return 1; 
        
        return 15;
    }
private int sample_funcname ( char var_0 , char var_1 ) {
  if ( var_0 == '0' || ( var_0 >= '3' && var_0 <= '9' ) ) return 0 ;
  if ( var_0 == '1' ) return var_1 == '*' ? 9 : 1 ;
  if ( var_0 == '2' ) {
    if ( var_1 == '*' ) return 6 ;
    if ( var_1 <= '6' ) return 1 ;
    return 0 ;
  }
  if ( var_1 >= '0' && var_1 <= '6' ) return 2 ;
  if ( var_1 >= '7' && var_1 <= '9' ) return 1 ;
  return 15 ;
}
