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

5
LINES

< > BotCompany Repo | #1025069 // dm_changedFieldValues (from constructor defaults, non-transient only)

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

Libraryless. Click here for Pure Java version (3450L/22K).

1  
// returns [<field name, original value>]
2  
static Map<S, O> dm_changedFieldValues(O mod) {
3  
  ret filterMap(dm_originalFieldValues(mod), 
4  
    (field, originalValue) -> !eq(originalValue, dm_getOpt(mod, field)));
5  
}

Author comment

Began life as a copy of #1025067

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: #1025069
Snippet name: dm_changedFieldValues (from constructor defaults, non-transient only)
Eternal ID of this version: #1025069/5
Text MD5: 61a9af6f9cfcc8dabb4811b3bf96373d
Transpilation MD5: 4fe757aa97e8d4340a40d486cf008a04
Author: stefan
Category: javax / stefan's os
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-04-16 13:32:19
Source code size: 215 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 258 / 352
Version history: 4 change(s)
Referenced in: [show references]