Libraryless. Click here for Pure Java version (4999L/28K).
1 | sbool setBoolVar_returnPrevious(BoolVar v, bool value) {
|
2 | synchronized(v) {
|
3 | bool prev = v!; |
4 | v.set(value); |
5 | ret prev; |
6 | } |
7 | } |
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: | 366 / 465 |
| Version history: | 3 change(s) |
| Referenced in: | [show references] |