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

8
LINES

< > BotCompany Repo | #1031852 // metaMapPut - put or remove, actually (null keys or values are dropped)

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

Libraryless. Click here for Pure Java version (4766L/27K).

1  
svoid metaMapPut(IMeta o, O key, O value) {
2  
  o?.metaPut(key, value);
3  
}
4  
5  
svoid metaMapPut(O o, O key, O value) {
6  
  var meta = initIMeta(o);
7  
  meta?.metaPut(key, value);
8  
}

Author comment

Began life as a copy of #1031850

download  show line numbers  debug dex  old transpilations   

Travelled to 4 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx

No comments. add comment

Snippet ID: #1031852
Snippet name: metaMapPut - put or remove, actually (null keys or values are dropped)
Eternal ID of this version: #1031852/10
Text MD5: 0635af8feac846502e3213f62eb2822b
Transpilation MD5: 19f38724850e92acf75a5789d877d1ea
Author: stefan
Category: javax / reasoning
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-01-02 18:37:54
Source code size: 177 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 165 / 255
Version history: 9 change(s)
Referenced in: [show references]