comefrom: <awangdev>Word Ladder_1.java
code: private List<String> transform(Set<String> words, String word) {
  
          List<String> candidates = new ArrayList<>();
          StringBuffer sb = new StringBuffer(word);
          for (int i = 0; i < sb.length(); i++) {
              char temp = sb.charAt(i);
              for (char c = 'a'; c <= 'z'; c++) {
                  if (temp == c) {
                      continue;
                  }
                  sb.setCharAt(i, c);
                  String newWord = sb.toString();
                  if (words.remove(newWord)) {
                      candidates.add(newWord);
                  }
              }
              sb.setCharAt(i, temp);
          }    
          return candidates;
      }
masked: private List < String > var_0 ( Set < String > var_1 , String var_2 ) {
    List < String > var_3 = new ArrayList < > ( ) ;
    StringBuffer var_4 = new StringBuffer ( var_2 ) ;
    for ( int var_5 = 0 ;
    var_5 < var_4 . length ( ) ;
    var_5 ++ ) {
      char var_6 = var_4 . charAt ( var_5 ) ;
      for ( char var_7 = 'a' ;
      var_7 <= 'z' ;
      var_7 ++ ) {
        if ( var_6 == var_7 ) {
          continue ;
        }
        var_4 . setCharAt ( var_5 , var_7 ) ;
        String var_8 = var_4 . toString ( ) ;
        if ( var_1 . remove ( var_8 ) ) {
          var_3 . add ( var_8 ) ;
        }
      }
      var_4 . setCharAt ( var_5 , var_6 ) ;
    }
    return var_3 ;
  }
  