public static String fromLines(List<String> lines) {
    StringBuilder buf = new StringBuilder();
    for (String line : lines) {
      buf.append(line).append('\n');
    }
    return buf.toString();
  }Snippet is not live.
Travelled to 12 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #2000329 | 
| Snippet name: | fromLines (function) | 
| Eternal ID of this version: | #2000329/1 | 
| Text MD5: | dc26d3367c205488a845d661f1d51a5d | 
| Author: | stefan | 
| Category: | javac | 
| Type: | New Tinybrain snippet | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2015-04-30 16:47:26 | 
| Source code size: | 211 bytes / 7 lines | 
| Pitched / IR pitched: | No / Yes | 
| Views / Downloads: | 836 / 2054 | 
| Referenced in: | [show references] |