Libraryless. Click here for Pure Java version (3037L/17K).
static long getLongOpt(L c, int i) { ret toLongOpt(get(c, i)); } static long getLongOpt(Map map, O key) { ret toLongOpt(mapGet(map, key)); } static long getLongOpt(O o, S field, long defaultValue default 0) { ret toLongOpt(getOpt(o, field), defaultValue); } static long mapMethodLike getLongOpt(S field, O o, long defaultValue default 0) { ret getLongOpt(o, field, defaultValue); }
Began life as a copy of #1031604
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1031805 |
| Snippet name: | getLongOpt - very tolerant |
| Eternal ID of this version: | #1031805/3 |
| Text MD5: | c547a8331c72c537bba41c2a9cc31150 |
| Transpilation MD5: | 50afdfc3b07f9c9d166c8fab3180288b |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-07-01 20:12:23 |
| Source code size: | 406 bytes / 15 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 383 / 509 |
| Version history: | 2 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |