Libraryless. Click here for Pure Java version (105L/1K).
srecord IVF1WithToString<A>(S toString, IVF1<A> f) is IVF1<A> { public void get(A a) { f.get(a); } toString { ret toString; } } static <A> IVF1<A> ivf1WithToString(S toString, IVF1<A> f) { ret f == null ?: new IVF1WithToString<A>(toString, f); }
Began life as a copy of #1033376
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1033377 |
| Snippet name: | ivf1WithToString |
| Eternal ID of this version: | #1033377/5 |
| Text MD5: | 2e3e82cf04905aed3c42c640c4540d21 |
| Transpilation MD5: | d8fb5c737f85493df5587f23d030c84a |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-05-05 15:48:31 |
| Source code size: | 271 bytes / 11 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 373 / 524 |
| Version history: | 4 change(s) |
| Referenced in: | [show references] |