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

5
LINES

< > BotCompany Repo | #1027621 // clearDynFields

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

Libraryless. Click here for Pure Java version (2227L/14K).

svoid clearDynFields(DynamicObject o, S... fields) {
  if (o == null || o.fieldValues == null) ret;
  for (S field : fields)
    syncRemove(o.fieldValues, field);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1027621
Snippet name: clearDynFields
Eternal ID of this version: #1027621/2
Text MD5: 37e5f0a7971ac358c0286bed2d0816e6
Transpilation MD5: bcc7d358c79cca7802cef55c1b2a5727
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-03-26 15:50:40
Source code size: 168 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 235 / 300
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)