Libraryless. Click here for Pure Java version (99L/1K).
1 | sO getOptDynOnly(DynamicObject o, S field) {
|
2 | if (o == null || o.fieldValues == null) null; |
3 | ret o.fieldValues.get(field); |
4 | } |
Began life as a copy of #1005273
download show line numbers debug dex old transpilations
Travelled to 4 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1031529 |
| Snippet name: | getOptDynOnly - getOpt only from dynamic field |
| Eternal ID of this version: | #1031529/1 |
| Text MD5: | 93d7fab4b48ebfd3cd97df8c30a38d51 |
| Transpilation MD5: | 5075e1a2f025a4a10e3da67ad6ac03fe |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-06-18 20:12:57 |
| Source code size: | 129 bytes / 4 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 665 / 800 |
| Referenced in: | [show references] |