Libraryless. Click here for Pure Java version (6141L/34K).
1 | meta-for Type in O, IMeta { |
2 | svoid setMetaAndVerify(Type o, O key, O value) { |
3 | setMeta(o, key, value); |
4 | assertSame(-> "setMeta failed (class: " + className(o) + ", key: " + key + ")", |
5 | value, metaGet(o, key)); |
6 | } |
7 | } |
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: | 130 / 215 |
Version history: | 3 change(s) |
Referenced in: | [show references] |