# | Line 334 | Line 334 | public class StampedLock implements java | |
---|---|---|
334 | * Exclusively acquires the lock if it is immediately available. | |
335 | * | |
336 | * @return a stamp that can be used to unlock or convert mode, | |
337 | < | * or zero if the lock is not available. |
337 | > | * or zero if the lock is not available |
338 | */ | |
339 | public long tryWriteLock() { | |
340 | long s, next; |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |