Libraryless. Click here for Pure Java version (1772L/12K).
static T3 tripleMap(O f, T3 t) { ret t == null ? null : triple(callF(f, t.a), callF(f, t.b), callF(f, t.c)); } static <A> T3<A> tripleMap(T3<A> t, IF1<A> f) { ret tripleMap(f, t); } static <A> T3<A> tripleMap(IF1<A> f, T3<A> t) { ret t == null ? null : triple(callF(f, t.a), callF(f, t.b), callF(f, t.c)); } static T3 tripleMap(T3 t, O f) { ret tripleMap(f, t); }
Began life as a copy of #1008382
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: | #1024264 |
| Snippet name: | tripleMap - apply function to all elements of a triple |
| Eternal ID of this version: | #1024264/2 |
| Text MD5: | f9d718ddb76f5201e771578d3155b11b |
| Transpilation MD5: | 20fc64b3751c7005ee481decb7f6bf21 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-07-28 22:27:05 |
| Source code size: | 390 bytes / 15 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 505 / 629 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |