Concurrent::JavaAtomicReference < Object
| Use Case | Command | Description |
|---|---|---|
| ๐ Get current value | #get |
Returns the current value of the atomic reference. |
| โ๏ธ Set new value | #set(value) |
Sets the atomic reference to the given value. |
| ๐ Compare and set | #compare_and_set(old, new) |
Atomically sets the value to new if the current value equals old. |
| ๐งช Get and set | #get_and_set(value) |
Atomically sets the value to value and returns the old value. |
| ๐ Update with block | #update { |old| new } |
Atomically updates the value using the given block. |
AtomicDirectUpdate (from /home/chedong/.local/share/rdoc)@!visibility private @!macro internal_implementation_note
Generated by phpman v4.9.26-1-g511901d · Markdown · JSON · MCP Author: Che Dong Under GNU General Public License
2026-07-27 15:22 @216.73.216.194
CrawledBy Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)
Enhanced by LLM: deepseek-v4-flash / taotoken.net / www.chedong.com - original format