static O cget_x(O c, S field) { int i = field.indexOf('.'); if (i < 0) ret cget(c, field); ret cget( cget(c, substring(field, 0, i)), substring(field, i+1)); }
Began life as a copy of #1006649
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: | #1006652 |
Snippet name: | cget_x - allows "field.subfield" |
Eternal ID of this version: | #1006652/1 |
Text MD5: | de283a963c7219cbe02b658fa4ce4a9d |
Author: | stefan |
Category: | javax / concepts |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-01-25 18:07:50 |
Source code size: | 179 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 433 / 472 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |