Libraryless. Click here for Pure Java version (2844L/18K).
sS replaceLineEquations(IF2<S, S, S> f, S text) { ret mapEachLine(text, l -> { PairS p = splitAtEquals_pair(l); ret p == null ? l : f.get(p.a, p.b); }); }
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1025386 |
| Snippet name: | replaceLineEquations |
| Eternal ID of this version: | #1025386/4 |
| Text MD5: | 16008ff0e11ec7531355896227b1b325 |
| Transpilation MD5: | 9d5d45eeaa543f2158281e4618c286d3 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-09-27 17:03:57 |
| Source code size: | 171 bytes / 6 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 695 / 872 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |