Libraryless. Click here for Pure Java version (2786L/17K).
1 | svoid dynamicObject_setRawFieldValue(DynamicObject o, O key, O value) {
|
2 | if (o == null) ret; |
3 | |
4 | // double sync, but should be OK here because of locking order o > o.fieldValues |
5 | synchronized(o) {
|
6 | o.fieldValues = syncMapPut2_createLinkedHashMap((LinkedHashMap) o.fieldValues, key, value); |
7 | } |
8 | } |
Began life as a copy of #1026007
download show line numbers debug dex old transpilations
Travelled to 5 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1031192 |
| Snippet name: | dynamicObject_setRawFieldValue |
| Eternal ID of this version: | #1031192/3 |
| Text MD5: | 73f24117ac25fdc42a3545bb41fe7a46 |
| Transpilation MD5: | d21ac304b18cdae26b2e2ca666142545 |
| Author: | stefan |
| Category: | javax / concepts |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-05-19 23:34:10 |
| Source code size: | 308 bytes / 8 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 471 / 707 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |