Libraryless. Click here for Pure Java version (4999L/28K).
sbool setBoolVar_returnPrevious(BoolVar v, bool value) { synchronized(v) { bool prev = v!; v.set(value); ret prev; } }
Began life as a copy of #1019864
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
| Snippet ID: | #1034281 |
| Snippet name: | setBoolVar_returnPrevious |
| Eternal ID of this version: | #1034281/4 |
| Text MD5: | ba7c2dba471ef9372cfe237b5921981e |
| Transpilation MD5: | acb5cce4798d603b4b963cdf2983a417 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2022-01-31 21:01:09 |
| Source code size: | 140 bytes / 7 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 365 / 463 |
| Version history: | 3 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |