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

7
LINES

< > BotCompany Repo | #1034622 // setMetaAndVerify - set meta map value and verify it

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

Libraryless. Click here for Pure Java version (6141L/34K).

meta-for Type in O, IMeta {
  svoid setMetaAndVerify(Type o, O key, O value) {
    setMeta(o, key, value);
    assertSame(-> "setMeta failed (class: " + className(o) + ", key: " + key + ")",
      value, metaGet(o, key));
  }
}

Author comment

Began life as a copy of #1031852

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1034622
Snippet name: setMetaAndVerify - set meta map value and verify it
Eternal ID of this version: #1034622/4
Text MD5: fc3fdfcc0af454bc80f6b733f5c91145
Transpilation MD5: e5640ee538694dac97ff243ba13a5787
Author: stefan
Category: javax / reasoning
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-03-13 01:28:23
Source code size: 233 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 129 / 213
Version history: 3 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)