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).

svoid metaMapPut(IMeta o, O key, O value) {
  o?.metaPut(key, value);
}

svoid metaMapPut(O o, O key, O value) {
  var meta = initIMeta(o);
  meta?.metaPut(key, value);
}

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: 84 / 143
Version history: 9 change(s)
Referenced in: [show references]