static <A> L<A> linkedObjectsToList(A a, S nextField) { new L<A> l; while (a != null) { l.add(a); a = castGet(a, nextField); } ret l; }
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1010410 |
Snippet name: | linkedObjectsToList |
Eternal ID of this version: | #1010410/1 |
Text MD5: | 3f4b4917e30403c1fa889beb68e8a996 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-09-15 18:58:04 |
Source code size: | 158 bytes / 8 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 517 / 558 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |