1 | prepend: |
2 | |
3 | List<String> result = new ArrayList<String>(); |
4 | for line in toLines(s) {
|
5 | |
6 | append: |
7 | |
8 | result.add(line); |
9 | } |
10 | return fromLines(result); |
Snippet is not live.
Travelled to 12 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
| ID | Author/Program | Comment | Date |
|---|---|---|---|
| 134 | #1000604 (pitcher) | 2015-08-18 00:47:19 | |
| 126 | #1000610 (pitcher) | Edit suggestion: !636 !629 main { static Object androidContext; static String programID; public static void main(String[] args) throws Exception { prepend: List<String> result = new ArrayList<String>(); for line in toLines(s) { append: result.add(line); } return fromLines(result); }} | 2015-08-18 00:47:01 |
| Snippet ID: | #2000334 |
| Snippet name: | Line replacer to text replacer (pseudo code) |
| Eternal ID of this version: | #2000334/1 |
| Text MD5: | 227e2eca8f1d8f81effe27b90283a946 |
| Author: | stefan |
| Category: | javax |
| Type: | New Tinybrain snippet |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2015-05-06 19:34:07 |
| Source code size: | 160 bytes / 10 lines |
| Pitched / IR pitched: | No / Yes |
| Views / Downloads: | 1047 / 162 |
| Referenced in: | [show references] |