<awangdev>Encode and Decode Strings_3.java
public static String encode(List<String> strs) {
        if (strs == null || strs.size() == 0) {
            return "NULL";
        }
        StringBuffer sb = new StringBuffer();
        for (String str : strs) {
            char[] arr = str.toCharArray();
            for (int i = 0; i < arr.length; i++) {
                if (arr[i] >= 100) {
                    sb.append("" + (int)arr[i]);
                } else if (arr[i] >= 10) {
                    sb.append("0" + (int)arr[i]);
                } else {
                    sb.append("00" + (int)arr[i]);
                }
            }
            sb.append("LINE");
        }
        if (sb.length() == 0) {
            sb.append("LINE");
        }
        return sb.toString();
    }
public static String var_0 ( List < String > var_3 ) {
  if ( var_3 == null || var_3 . size ( ) == 0 ) {
    return "NULL" ;
  }
  StringBuffer var_9 = new StringBuffer ( ) ;
  for ( String var_10 : var_3 ) {
    char [ ] var_12 = var_10 . toCharArray ( ) ;
    for ( int var_13 = 0 ;
    var_13 < var_12 . length ;
    var_13 ++ ) {
      if ( var_12 [ var_13 ] >= 100 ) {
        var_9 . append ( "" + ( int ) var_12 [ var_13 ] ) ;
      }
      else if ( var_12 [ var_13 ] >= 10 ) {
        var_9 . append ( "0" + ( int ) var_12 [ var_13 ] ) ;
      }
      else {
        var_9 . append ( "00" + ( int ) var_12 [ var_13 ] ) ;
      }
    }
    var_9 . append ( "LINE" ) ;
  }
  if ( var_9 . length ( ) == 0 ) {
    var_9 . append ( "LINE" ) ;
  }
  return var_9 . toString ( ) ;
}
