267 |
|
} |
268 |
|
|
269 |
|
/** |
270 |
< |
* Returns a string identifying this latch, as well as its count. |
271 |
< |
* @return a string identifying this latch, as well as its count. |
270 |
> |
* Returns a string identifying this latch, as well its state. |
271 |
> |
* The state, in brackets, includes the String |
272 |
> |
* "Count =" followed by the current count. |
273 |
> |
* @return a string identifying this latch, as well as its |
274 |
> |
* state |
275 |
|
*/ |
276 |
|
public String toString() { |
277 |
|
return super.toString() + "[Count = " + sync.getCount() + "]"; |