acrites commented on PR #40748:
URL: https://github.com/apache/beam/pull/40748#issuecomment-6424928432

   In case this helps:
   
   `WindmillSet.addIfAbsent()` returns true if the element is added to the set 
as a result of the call and false if it was already in the set.
   
   The implementation calls `windmillMap.putIfAbsent(k, true);` and 
`putIfAbsent()` returns `null` if the element was not already in the map, 
otherwise it returns the mapped-to value. We never map keys to anything other 
than true.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to