Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

4
LINES

< > BotCompany Repo | #1031529 // getOptDynOnly - getOpt only from dynamic field

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (99L/1K).

sO getOptDynOnly(DynamicObject o, S field) {
  if (o == null || o.fieldValues == null) null;
  ret o.fieldValues.get(field);
}

Author comment

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: 222 / 296
Referenced in: [show references]