Libraryless. Click here for Pure Java version (41L/1K).
static <A extends B, B> L<B> nuLike wideningListCast(Class<B> c, L<A> l) { ret (L) l; } static <A extends B, B> Cl<B> nuLike wideningListCast(Class<B> c, Cl<A> l) { ret (Cl) l; } static <A extends B, B> L<B> wideningListCast(L<A> l) { ret (L) l; }
Began life as a copy of #1028178
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
Snippet ID: | #1031269 |
Snippet name: | wideningListCast |
Eternal ID of this version: | #1031269/3 |
Text MD5: | f229ef0eb5771de4d1f26c22225801e0 |
Transpilation MD5: | f99ee3a3d52b9a5640f15de6ebb18dd4 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-08-05 18:41:26 |
Source code size: | 265 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 216 / 334 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |