Libraryless. Click here for Pure Java version (3831L/22K).
static <A extends B, B> IF0<B> classToIF0(Class<A> c) { ret c == null ?: () -> nuInstance(c); }
Began life as a copy of #1031412
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1033261 |
| Snippet name: | classToIF0 |
| Eternal ID of this version: | #1033261/3 |
| Text MD5: | c8375ec7307abb15187ceb4b33f92305 |
| Transpilation MD5: | ce7269d9b8cf958933a8b3b47e06463f |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-10-18 00:16:36 |
| Source code size: | 99 bytes / 3 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 366 / 477 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |