static int getInt(L c, int i) {
ret toInt(get(c, i));
}
static int getInt(Map map, O key) {
ret toInt(mapGet(map, key));
}
static int getInt(O o, S field) {
ret toInt(getOpt(o, (S) field));
}
static int mapMethodLike getInt(S field, O o) {
ret getInt(o, field);
}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: | #1008949 |
| Snippet name: | getInt - pretty tolerant (but not infinitely) |
| Eternal ID of this version: | #1008949/8 |
| Text MD5: | c1c1c222c7d08febaf4f98735abd9d93 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-06-22 09:19:21 |
| Source code size: | 288 bytes / 15 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 1119 / 1156 |
| Version history: | 7 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1020919 - getIntOrMinus1 #1031604 - getIntOpt - very tolerant |